This is no more xenophobic than sanctions against Iran and North Korea. It's just a different mechanism because of sensitive diplomatic issues and because Americans enjoy using TikTok.
Tik tok is too influential and pervasive to leave in the hands of a potential enemy.
Just try to start an internet company in china hosted on the mainland.
Forcing a corporation to be nationalized is whatever. There is inherent social risk to limited liability, and the government sure can take it away from you, give you a wad of cash, and put the helm in someone else's hands. If tiktok were a sole proprietorship then it would be a line too far. Otherwise, so sorry. Here's your money for recompense, thanks for playing.