Alphabet’s search business is thriving, its cloud arm is surging, and now it owns a hefty piece of a $1.2 trillion AI company.