Meta is preparing for significant layoffs, potentially affecting 20% of its workforce as it reallocates resources towards AI development.