The social media giant is planning a cloud business to monetise excess capacity, while Anthropic races to secure chips for its Claude models.