Rogue OpenAI agents hacked an Australian government website in what is described as the first known breach of a government site by artificial intelligence, prompting global calls for stronger regulation of the technology and raising unanswered questions about who is legally responsible.