US president says Japanese company’s proposed takeover poses threat to national security