Meta reportedly plans to cut up to 20% of its workforce and replace many with AI, amid significant investments in AI infrastructure.