Never let the facts get in a way of good story
We also can’t dismiss the nature of a law. A law may be sufficiently heinous that it loses its validity, which I think many Chinese laws qualify as they are so broad they are as some CCP members have stated, being like the sword of Damocles with the specific intent to terrorize and allow the government flexibility to do what it wants under the image of ‘rule of law’ which it obviously isn’t.
Mass protests in China do happen. When people really are dissatisfied, they do speak up, and it does happen that the government listens. For example in 2019 there were mass protests in Guangdong about building a cemetery. People mass protested, some even vandalized and got arrested. But in the end, the peaceful protesters didn't get in trouble, and the government gave people what they wanted. https://mothership.sg/2019/12/news-china-protests-wenlou-hua...
The situation in China isn't as black & white, or as dystopian, as what many believe, even though there's still plenty of room for improvement.
Do you have a point?
The Chinese government installed new monitoring and censorship laws. Google didn't want to comply, so they got out.
In both cases, those companies either voluntary got out, or got kicked, based on clear conditions. You can of course discuss whether those laws and conditions are ethical, but that is besides the point. In case of the current US bans, there are no conditions. Chinese companies get kicked and there is nothing they can comply to.
Furthermore,the US govt is actively "encouraging" other countries to ban Chinese companies too. Recently they said Brazil would face "consequences" if they do not. Did China ever tell other countries to ban Facebook?
And the US govt said that if Tiktok sells, they must pay a chunk of money to the govt, which is... Unusual. China didn't do anything like this.