The US is rallying East African countries to adopt its proposal on the responsible use of artificial intelligence in the military, signalling a sense that the new technology could pose risks to the usual defence cooperation between Washington and its allies around the world.