Australia’s prime minister aims to rally middle powers and rein in A.I.