Getty Images will allow OpenAI to use its content library in AI search and ChatGPT.