Ignoring for a second the fact that this has a lot more to do with geopolitics and hedging geopolitical risk, I think it's important to think more carefully about the impact of companies investing in developing economies.
By and large, the factory work done by people in developing economies is dramatically better in terms of quality of life and safety than the agricultural work that they would be doing without economic development. It would be better if the factories were more often owned domestically (instead of owned by Chinese companies), but the actual workers are not suffering in the short term as a result of Apple bringing jobs. The complete opposite is true.