In practice, American unions failed to see that. Even if we ignore the cases where leadership just enriched themselves, unions concerned themselves mostly with extracting as much value as the employer would bear, and to a lesser degree to shield employees from the consequences of their mistakes.
On the other hand, fluid capitals means jobs would have gotten outsourced regardless of union's stance. In Mexico, which is far from having the cheapest labor in the world, minimum wage is less than $5USD per day. There are loads of social problems derived from that, but the fact that this is feasible at all relies on a much lower cost of living compared with USA. Try to implement that on the other side of the border and you'd be facing bread riots in no time.