The peaceful uses of AI: an emerging principle of international law