Underpaid in what way? Are there many other jobs those people could be doing which pay them better? They're not paid much by US standards but the alternative is subsistence level farming. Is anyone who puts their production into China (and let's remember that's basically everyone in hardware before we single out Apple) being nasty by offering people a better income than they can get anywhere else?
It's the market rate, something incidentally most people in tech in the West are pretty happy about when it's driving massively above average salaries for programmers and the like.
In terms of overworked - Foxcon workers recently went on strike because the amount of overtime they were being offered had been reduced. If they're overworked it would be very odd behaviour to strike to demand more.
Essentially Foxcon workers get to choose between two things - a shitty life working at Foxcon and a really shitty life not working there. That's unfortunate, but it's not Tim Cook's fault, it's in part the fault of the Chinese government, in part the result of them having been dealt a shitty hand and a consequence of global capitalism which most of us are in some way complicit in.
To place this at the door of Cook is pretty naive.