Ask yourself this: how would the average Chinese citizen react to hearing their government actually benefited a foreign company over one of their own? Outrage! (and as calculated by the party).
It's more complex than that. Huawei, a Chinese company that does actually come up with good ideas of its own and makes good money selling them all over the world, has problems with their products being faked and flogged by other Chinese companies. There's not much patriotism in play, it's all about making as much money as quickly as possible no matter what the risks or consequences. Hence the various food contamination scandals, etc.
The communist government is quite capable of controlling what people think - it controls the media. A few years ago they stirred up some anti-Japanese sentiment for some crazy reason or other, riots, Japanese cars being burnt in the street, etc. Whatever it was all really about escapes me (there was some WW2 angle used as an excuse) but it went too far; the Japanese auto manufacturers started closing their factories in China, put a lot of people out of work. Funnily enough the riots stopped just as quickly as they'd started but it was too late. A lot of Japanese manufacturers decided that operating in China was more hassle than it was worth.