ChatGPT is to start allow users to generate porn as it races to compete with a more explicit chatbot built by Elon Musk.