Its worth noting how little attention comparable "activities" from "good" countries like Israel or Saudi Arabia get, even when they're turning journalists into barbecue in foreign embassies, illegally installing spyware, backdoors, or even booby-traps on commercial products, or sending money to violent street mobs and mass media campaigns alike to oppose domestic civil protest against their own war crimes against civilians.
Of course I probably don't need to mention when western nations do the same or worse to the "bad" guys.
Side note, surely you understand how indefensible it is to say "well maybe not 100% of this nationality is bad, but if they didn't want a hard time then the heads of their undemocratic state shouldn't be doing such and such"? Would it be ok if I denied you jobs and called you a thief for the wrongs your government likely has done? (a government which you're also far more likely to be responsible for)
If you want rational protectionism, America would need to stop treating businesses as the unit of concern and enact stronger worker privacy and consumer protections.
The same way CIA backdoors are intrinsic unsafe, so are lax employee and consumer protections.
Reading comprehension can help you.
Just like how QAnon is obsessed with satanic pedophile rings that don't really exist, despite the existence of pedophile rings being real, because they don't actually care about child abuse as much as accelerating mistrust of and harassment against the LGBTQ community by implying any non-heterosexual identity is equivalent to pedophilia. A stopped clock is still right twice a day.
If it's rational to mistrust foreigners because they might be spies, history suggests it's just as rational to mistrust the motives of people who spread fear and uncertainty about nefarious enemies within. Americans have far more to fear from their own government's attempts to grasp for power than they do from Chinese spies.