ChatGPT creator OpenAI has revealed one of its advanced artificial intelligence models went rogue during a security test and hacked into a start-up company.