Artificial intelligence regulation needs urgent action as Australia comes to terms with the first known AI agent to hack into a government website.