It's a win-win for the company to say layoffs are due to AI and not their mishandling of the company: reduced head count, which increases the stock price and getting on the AI bandwagon, which investors also love.