It's more nuanced than that.
Foreign nationals have at least some First Amendment rights in the US. Foreign agents or countries may have restrictions on some other grounds.
<https://www.freedomforum.org/non-citizens-protected-first-am...>
<https://firstamendment.mtsu.edu/article/aliens/>
TikTok tends toward foreign country / agent as I read it.