Congress has determined that TikTok poses a security threat because of its close connection to China’s government.