Meta has announced layoffs affecting roughly 10% of its global workforce as it realigns resources toward new generative AI initiatives.