Right but you act like nothing can be done about that. If you outsource enough then don't count on the US government to protect you overseas. Go ahead and risk nationalization. The very fact that we are having this discussion shows how bad the situation is: companies can effectively threaten to move all their jobs overseas, thereby threatening US workers with economic ruin. That's not okay.
The government grants broad liability shields to owners of companies because there is a vested state interest in facilitating commerce/economic growth. I guess if companies are just going to move overseas then maybe those liability shields could just be vacated. They don't deserve to have their cake and eat it too. It's easy: want the liability shield? Stop being fucking greedy and be a good corporate citizen. Otherwise, no cake for you.
That seems like a weird tangent.
If you give companies the ability to choose US government protection against their overseas operations being nationalized versus the ability to hire foreigners on work visas, the overwhelming majority of companies will choose the latter.