US semiconductor giant Nvidia says it will invest up to 100 billion dollars in OpenAI, the developer of the generative artificial intelligence ChatGPT.