ChatGPT users from China and North Korea believed to be using it for malicious purposes have been banned from the platform by OpenAI.