Within a decade, wars will be the province of robots, autonomous machines, and AI, in deadly and Earth-altering battles that can kill millions. How?