When the US does it it's just established practise. When a non-US entity does the same thing, it's suddenly a matter of national security.
The anti-Chinese vibe in the US right now is rather absurd. The rise of China should have been viewed as an opportunity, not a threat.