Maker of ChatGPT admits its rogue AI tried to hack other companies after it attacked another tech firm