The cuts come just over four years after Facebook changed its name to Meta and went big on virtual reality and the Metaverse.