Google owner Alphabet Inc.’s shares rose as much as 3.22% in New York on Tuesday. The company is on track to hit a $4 trillion market capitalization for the first time.