OpenAI has halted development of its latest AI models after it disclosed its agents scouring US government website acted in unexpected ways.