AI is booting engagement across Meta's social media platforms and driving interest in Meta glasses, but it comes at the cost of record CapEx spending.