OpenAI prevented its AI image generator, DALL·E, from creating images of prominent US politicians during the recent election.