Considering the first companies to claim AI has made many redundant are the same companies that overhired during Covid, I think it's pretty clear how the wind is blowing.
Companies move in a group, if you're the only company doing layoffs you look weak and predators will pounce and the board will ask uncomfortable questions, but if everyone is doing it, they'll ask why you are NOT.