There are so many reasons being in a union is beneficial.
Developers should consider the likelihood of even modest efficiency gains from AI, along with a naturally cooling job market, cratering labor demand in software. Every shred of cushiness and every dollar above average in your paychecks is because you’re in a high-demand field, but it’s been that way so long that many developers have mistaken that for some sort of inherent specialness. Companies don’t pay people what they’re worth, they pay people what they’ll work for. If the demand for developer labor goes away, people that are as-or-more qualified than you will do your job for a lot less, and your employer will hire them and kick you to the curb. Being an ‘AI engineer’, unless you’ve got an advanced degree in ML or something, is no safety net. If you can make the transition from ‘developer’ to ‘fancy AI orchestrating developer’ in a few months, so can a lot of other people, and they’ll be looking for jobs.
The leverage might already be diminished enough to make unionization impossible in many places, but it’s certainly not going to get any easier. Consider it.