Actually, it is not because of the AI, it's mainly because of the bad hire policy. In 2021 and 2022, all the big techs have hired like anything thinking that the economy will grow like anything. But that did not happen and thus these companies have to cut costs.
RE: In 2023, more than 100,000 US Tech workers have been laid off!