<p>Alphabet and Apple have approached artificial intelligence in ways that have resonated on Wall Street.</p>