Alphabet is closer than Meta to seeing returns on its artificial-intelligence investments, making shares of the search ...