Alphabet Inc.’s stock has benefited from changing investor perceptions this year. For one, the stock has transformed from an artificial-intelligence loser to an artificial-intelligence winner in the ...