Artificial intelligence (AI) is being given a growing number of responsibilities in military affairs, and the role of human judgment in military operations is shrinking rapidly, the head of the United Nations’ independent disarmament research institute warned.