That's kind of irrelevant to my comment, unless you consider workers part of the "capital" that is being allocated efficiently.
Even if you do, allocating capital (and workers) efficiently usually eventually leads to better social well being than allocating it inefficiently. (Perhaps reversing the inequality makes the historical examples more obvious: allocating capital and workers inefficiently leads to worse outcomes.)
But note well the word "eventually". There certainly is room for doing better at helping with the social well being of those dislocated by this process...
Efficient how? Finding the leader of the grand "race to the bottom" and moving the work there?
Maybe the workers should be as free as capital in seeking a country that benefits them the most. Then it'd be a race to the top because people can just leave your abusive country for a place that sees them as human beings.
Even if you do, allocating capital (and workers) efficiently usually eventually leads to better social well being than allocating it inefficiently. (Perhaps reversing the inequality makes the historical examples more obvious: allocating capital and workers inefficiently leads to worse outcomes.)
But note well the word "eventually". There certainly is room for doing better at helping with the social well being of those dislocated by this process...