Everyone seems to be envisioning a robotic battle.
Although we've made tremendous progress in getting spacecraft and other vehicles to act autonomously, we usually keep them on a pretty tight leash, and have thought out beforehand most of the situations we expect these automonous vehicles to negotiate.
It wouldn't surprise me to find humans still have a place in a hypothetical space battlefield, especially considering each opponent would strive to inject appropriate "fog of war" to confuse the robotic elements.
Either that, or well find a way to manufacture robots that are equivilant and/or superior to humans.