or maybe they just need to lower their operating expenditure because they're spending too much money...
They have net income in the billions per quarter
Maybe they are shedding workforce to spend more on AI infrastructure like many of the other layoffs to remain competitive.
The layoffs could have nothing to do with the employees.
Both can be true:
1) "AGI" has been achieved internally which means...
2) ...we need to lower "operating expenditure" which includes i.e (human employees) so that the AI agents can take over.
Lastly, they will use the remaining capital to build homes (data centers) for these AI agents.
Or maybe, every tech company is still shedding the overhiring they did during the Covid years.