Drones and artificial intelligence are reshaping the battleground, eroding the advantage that Western nations take for granted.