I want a co-op where the employee organization owns the company. Profits are bonuses for all the employees.
I don't want protection from company's goal of making the most money possible. I want the goal of the company to be the success of the employees.
US law makes this type of organization harder than it should be and a union is a good step towards what you're describing.
There are other ways to achieve what you're after: stock options, profit-sharing agreements, or even just a generous bonus structure based on hitting revenue targets are all quite common.
If the goal of these layoffs is to "do more with less", then maybe we as technologists should find a way to do that ourselves.
Yeah, for the most part, asking those questions is a great way to get fired in many, many companies, especially if you ask those questions in a forum or format that makes leadership look bad. I am not sure where I stand on unions for tech workers (I grew up in a union mining town where the union saved lives by driving safety measures, but also got fined by the union on the first day of my first job for refilling an ink tray because the shop steward thought I needed a lesson), but at the end of the day, unions provide a method for engaging with the business to negotiate and ask these questions without fear of arbitrary retaliation.
This is one of many reasons to unionize because the reasons for layoffs may not be what we're being told.
I'd love to pay 5% or something like that for job insurance that would cover me if the company died, or they start laying off people in a downturn. That would be 5% you don't have though.