The ideal is to encourage developers to start their own small businesses and support each other by being customers. That, and when you find success/profitability, don't sell to a big tech nightmare or PE—just run the business. The "machine" is a natural side-effect of mega corporations and creating unions will just encourage more creativity around stealing your soul or getting rid of your entirely.
Reminds me of this comment I saw recently > Are you advocating for everyone to create their own SaaS here or what? End of the day, most engineers need to join employers. We can’t have 10M+ different SaaS out there and each engineer develops their own personal brand of it. That’s not how software scales. https://news.ycombinator.com/item?id=43379353
And if you prefer, employers who need engineers aren't going away. They're being temporarily deluded into thinking that they can get rid of their teams due to the AI hype, but I expect that to change as "vibe coded" software starts to fall apart.