Microsoft Corp., Alphabet Inc.’s Google and Advanced Micro Devices Inc. — three companies working harder than nearly anyone to weave artificial intelligence into their products — are finding that investor expectations for the technology are hard to meet.