All the reasons (privacy/spying, government unaccountability, etc.) that would make basing a tech company in the US bad are worse in China.
It does seem, though, many are (seemingly in bad faith) increasingly conflating criticism and scepticism of the Chinese government with racial or ethnic animosity. It is almost identical to how discussions surrounding the Israeli government are conflated (seemingly in bad faith) with anti-Semitism.
E: spelling and placement
We have seen this with Zoom: China-Based Executive at U.S. Telecommunications Company Charged with Disrupting Video Meetings Commemorating Tiananmen Square Massacre
https://www.justice.gov/opa/pr/china-based-executive-us-tele...
America does bad too, but we can't act like this state is any better. Some of the things they're doing to play catch up are appalling.