Meta Platforms has sharply increased its capital spending outlook, underscoring its aggressive push into artificial intelligence even as it faces intensifying regulatory scrutiny and growing backlash over the impact of social media on younger users.