Teams overseeing Facebook, the Horizon virtual reality platform, as well as logistics were among the hardest hit. Previously, the company had laid off more than 21,000 workers since 2022.