Microsoft is racing to expand Copilot beyond its chat-based roots to boost adoption as it competes with AI chatbots such as ChatGPT and Claude.