Well, it’s all probably a moot point now because devs have lost leverage. But the union contracts can help bring some order to the layoff process - which employees get laid off and severance for the others.
It would've definitely helped to soften the blow. We can only blame the last generation of devs who did nothing. But if LLMs end up being as useful as claimed, nothing could halt that transition.