The United Nations passed a binding treaty on Thursday limiting AI in lethal targeting, marking the first global check on autonomous battlefield systems.