At the end of the day; business is just business. Capitalism when you boil it down to its most basic concept, is the pursuit of profit. So yes, companies around the world will look for the cheapest market of labor, but China is not the only country benefitting from this arrangement. Indeed if your point is simply to highlight what I just typed, well I would agree with you, but there is a lesson in all of this about what makes a society economically successful.
The answer itself is capitalism, in particular; the free market. The old rhetoric of Marxism, Socialism, and Communism proved to be false when put into practice, killing 150 million people in less than a century, and could not alleviate any country who adopted its practices from famine and poverty. China is arguably the worst in this regard, especially under Mao. The only country in the world that still believes in the religion of the above failed economic and political policies is North Korea.
Of course the new challenge for China is the ability to pull immigration, particularly intellectuals, create a functioning middle class in its society; rather than continuing the slavery/serfdom it is managing now, and its diplomacy with its neighbors. So how exactly can China fix this? Well the answer is simple:
Democracy. Whether it be Parliamentarian or a Constitutional Republic.
On this point alone, China could fix many of those above issues, as well as give its people human rights, and the freedom they deserve. Indeed Chinas neighbors would feel more at ease, the issue of Taiwan could be settled more peacefully, and their international image would improve drastically. Of course there is the problem with history that no major governmental change or revolution has ever succeeded either without the consent of those in power, or the support of another major foreign power. So the question remains, will Chinas leadership make the right decision, or will this change have to come through force?
The funny thing is that most people here in the west have historically been indifferent or distant to important confrontations such as these, but if the decision has to be made; they will make it. Kind of reminds me of the 1930s all over again, lol.