A slew of companies—led by tech giants Microsoft and Alphabet—have announced high-profile forays in artificial intelligence amid growing hype around AI-equipped chatbot ChatGPT.