The job cuts come as the social media giant doubles down on AI and grapples with a big bet on the metaverse that didn’t pan ...