Microsoft has confirmed a multibillion-dollar investment in ChatGPT bot maker OpenAI, making its biggest bet yet that artificial intelligence systems have the power to transform tech giants business model.