Imagine if a country passed a law saying Facebook or Google had to sell to a non-US owner or it would be banned.
The ban isn’t because TikTok is a threat to US privacy or whatever, but because it threatens the global market share of US tech and by extension the geopolitical power of the US state.