Espionage in AI labs poses a national security threat, according to US intelligence and security officials.