The issue with most enterprise size workplaces is that the core teams that are actually working on revenue producing stuff is very small. The rest are support staff. I worked for a large bank and we had over 100 mobile software developers. Think about that for a second. A mobile application with over 100 people. That does not even include other teams that these 100 people depend on.
But you have to truly ask the difficult question: are all 100 people actually working on revenue producing work? The answer is that easily 60-80% are not. In fact, we had teams in the east coast that was the bulk of the 100 folks who did nothing but write documentation, guard their networking and data frameworks vehemently, and the rest of the time was spent fighting mundane software tasks.
That team could have been effective with at most 5 folks. In the world of AI coding, 5 folks would be an absolute force.
A lot of large workplaces are seeing these changes, because they simply got fat. Even Apple, which historically has been praised for weathering the layoffs has recently laid off many middle managers and employees working on useless things. It's part of Ternus' shake up. And it's not because of some evil corporate strategy to treat people like crap, it's really not. Strategically you have to ask yourself if you are truly being productive and truly a core member of a core team. If you are not, and simply wrangling JIRA and stuck in back to back meetings all day thinking you're a decision maker. Sorry but you're on the layoff list.
The bank wasn't the only example, I've worked in mid-large workplaces and with just a bit of introspection you knew immediately if you were a core member on a core team. And if you weren't, it was always in your best interest to constantly keep yourself ready for the next thing.