Microsoft is making a $10 billion investment over several years in OpenAI, the creator of the artificial intelligence tool ChatGPT that has lit up the internet since its introduction in November, amassing more than a million users within days and touching off a fresh debate over the role of AI in the workplace.