Yes, you make a very valid point.
>Look at Apple for example, most valuable company on the whole world and 44-47% of their production sites is in china. Did we had anything like that in the Soviet block?
No, definitely not, there is a difference in how Soviets couldn't overtly accept western investments without it looking like a failure of their central planning. Also the relationship between both blocks(USSR vs the West) was much more openly antagonistic. China is different in these ways. One could write a book about the differences and similarities of both countries.
As for large companies doing that I blame the lawmakers (and people voting for them). A share based company is supposed to act in the best interest of shareholders. How long or short the time horizon to prioritise is decided by the shareholders when they hire the board of directors. It is not a surprise a bunch of shareholders will want to prioritize short term gains. It is the lawmakers job to ensure its citizens don't fund enemy regimes. That leads to another point, for a life of me I do not understand how the Chinese Communist Party regime is not officially considered an enemy of the USA and all other deocratic countries. For some countries with very corrupt political scene (like Germany, Austria etc) it is obvious why, but the US? Perhaps the political elite in US has awoken to the fact current China is their biggest enemy, they just don't see any benefit in communicating it clearly at this stage.