OpenAI, the company behind ChatGPT, has attracted strong investor interest as businesses and startups rush to build AI tools.