The two companies said they plan to use OpenAI’s models in industries in which G42 has connections and experience, such as energy, finance, healthcare and public services.