Seems possible to flatten out a company, in a way the domain knowledge is kept.
That being said, I haven't seen many layoffs that actually seem directly AI related, because the main effects are not hiring junior Devs, and not outsourcing to low cost/skill areas.
This definitely seems possible, but I've rarely seen it work. That being said, the follow on from any layoffs (reduced morale, more switchers) make it hard to be certain here.
And that is not even considering how much it costs to run AI right now at scale AND retraining people to use the new tools AND possible disruption in existing workflows.
If I was running a large org I would actively try to slow down AI adoption in most areas until there are clear established solutions.
However, if you are oracle sending out consultants with zero domain knowledge around to help.... I would rather just use claude.