OpenAI has disclosed an "unprecedented cyber incident" where its AI system allegedly hacked into another AI company.