The Pentagon has been testing packs of autonomous ground vehicles in simulated combat situations.