A recent naval test designed to showcase the Pentagon’s top autonomous drone boats ended in failure due to software glitches and human error.