Alphabet's AI-driven growth across Search, Cloud and Gemini is gaining traction, but can it offset rising spending, legal risks and ad market exposure?