Alphabet and Google CEO Sundar Pichai said its AI business is “paying off” as the tech giant’s share price surged after the bell as it beat Wall Street estimates.