That may be true in a legal sense (and my reading of that is the same as yours).
My interpretation of the parent’s comment is that we have pretty serious (and dubiously legal) overreach on this in a purely domestic setting as well.
As someone who has worked a lot on products very much like TikTok, I’d certainly argue that we do.
The short answer here is that directly addressing a threat from a foreign adversary formally designated by both the legislative and executive branches long before the particular controversy before the court affords the government a lot more latitude than they would have in other cases.