Chipmaker Nvidia will invest $100 billion in OpenAI as part of a partnership that will ramp up the computing power for the owner of the artificial intelligence chatbot ChatGPT.