OpenAI is taking swift action to address a critical bug in ChatGPT that allowed minors to generate explicit erotic content.