Wrong, collective action doesn’t change anything. It simply interchanges who gets poorer.
Easy counterexample: safety. Unions have historically been on the forefront of safety improvements. Not having workers mutilated or killed -> increased wealth for all. That's not a zero-sum game.
And if you think this doesn't matter for game programmers, look at how many overworked people in the past few years have gotten in car crashes while driving home. Fatigue kills.
But sometimes that's the goal.
In professional sports, the player's union helps raise athlete salaries and improve working conditions and that does ultimately come out of the owner's pockets.