What do military robots do?

They mostly retrieve and isolate bombs or suspected bombs. They are also used as a communication medium for negotiations.

For more info, I would recommend the episodes of Modern Marvels called Battle Ready and Battlefield Engineering. In fact, I just noticed that the Battlefield Engineering episode is scheduled to be shown twenty minutes from the time of this posting: Friday 21st March 2014 @ noon EDT on the History Channel.