I understand your plight. But you are cherry picking. You want to enjoy the benefits of an economic system without wanting the collateral damages.
The US is undergoing an economic restructuring and unfortunately, there are collateral damages including the dissemination of the manufacturing industries. The country has to move up the value chain and not compete against lower wage countries. Its comparative advantage. The fault lies in the Government is not re-training and providing 'landing strips' for those newly retained workers like the Coal miners.
Personally, I think the Internet has accelerated the changes. It enabled many companies to outsource, manage their supply chains remotely or on the Cloud. As like in your example, Apple with its ecosystem partners in China.
But hey-ho, without the Internet, we wouldn't be having an almost live dialogue on this topic.
All solutions from laws to technologies are double-edged swords. What they give, it will also take. But that's the reality of life.