I am not saying that it's the government's job to fix it or dictate, I am just saying that our system is flawed where companies are maximizing share holder values instead of focusing on real jobs, producing real products and services. CEOs and their top managers have massive incentives to focus most of their attentions on the expectations market (stock market). That is why jobs are going over seas to china. Cheap labor, less tax, bigger profit margin, and the market share increase. That is another reason why CEOs are their top executives are given bonuses in shares instead of money.
The incentives to take jobs to china is being given by the Chinese government on top of the cheap labor rates. Incentives offered the by the chinese government include tax breaks, low import duties, low-cost land and low construction costs for new factories, no labor laws, they don't have to provide health insurance since China is under a universal health care system. To eliminate these incentives is easier said than done.