Machine soldiers to fight future wars