Most of the "because AI" headcount reductions were complete bullshit, or a "realignment" of the companies towards the AI future. Assuming it ever actually happens. I mean, they spent billions and promised hundreds of billions more.
Now, I certainly wouldn't want to work at a company that's making a shitty SaaS replacement for a dBase III application or excel spreadsheets or something. That sort of thing is doomed no matter how you look at it. If AI does even 5% of what they're replacing, you just ask Claude to do the thing you need, even though what you need is actually already 100% implemented in software you already own but were just too lazy to see what that button was for. If AI goes tits up, then it's going to take one of the major cloud players along with it, probably Microsoft with the way they're run these days.
Better option is to just have an AI strategy of "No". Best option is to just don't computer.