Many people seem to forget that there were also sweat shops in the USA as well. It is many years in the past but they existed.
China is getting a lot of negative press because it's a big country, there are bad conditions there, bad news sells, and the internet is allowing news to spread in minutes verses the years it took in the past. This negative press is good, it creates outside pressure and helps things improve, but don't forget where your country has been before.
I have cousins in China and a few of them are willing to work in these conditions. Why? It's not because they are crazy. It's because those jobs pay more then they jobs they get at home. Over there, computers are luxury items and many people are glad to have a stable job no matter how harsh it could be. A dollar US is enough money to buy food for a whole day in the city (if spend wisely) so at least they won't starve with $130 per month.
Many of these companies are getting away because they know the right people and are paying them off. Corrupt government officials are in every country, they are just much more evident in China, especially due to the media focus.