Alphabet’s cash burn was driven by spending to boost cloud capacity and fund AI research.