OpenAI was an artificial intelligence research lab little known outside of Silicon Valley before ChatGPT debuted in November 2022.