The strong quarter and a boost in capital spending impressed analysts and solidified Alphabet's position as an AI leader.