If US were to decide that all telecom equipment used in the US must be produced by domestic companies then that's fair enough.
Going after one specific privately owned company, influencing ally states' purchase decision, banning foreign companies globally from supplying chips is outright bullying and sets the unfortunate precedent that a country could leverage its monopolistic position in tech to stifle competition.
Isn't that exactly what the Chinese laws do? Everything I've read seems to say that they prevent foreign companies from being able to fairly compete against local Chinese. companies.
When Google entered the Chinese search market it was competing fairly with local players: both Baidu and Google have to accept the (authoritarian) rule that they need to censor their search if they want to legally operate in China.
You could argue if the rule itself is good (I think it's not), but the point is that there are clearly stated rules that Google could choose to comply with or not.
Which "rule" did TikTok, Huawai, Wechat violate other than the fact that they are born Chinese companies?
The US could also decide that all social networks that operate in the US must be owned by American companies and subject to congressional inquiries. That would be fair enough, though that's an even more extreme version than what the Chinese government has been demanding.
Given that the Chinese state elected to hack an American firm that was operating in it's borders, you could make any sort of excuse to prevent Chinese firms from owning American infrastructure for any sort of national security reasons. TikTok doesn't have to break any rules. If I see my roommate get mauled by a tiger, that doesn't mean I have to sit around and wait to get mauled before I take an action.
[1] https://en.wikipedia.org/wiki/Google_China#2010%E2%80%932016...