The benefits and controversies around AI are clear, but by drawing on current experiences, we can establish an order that ensures AI does not become a threat but a very useful aid.