Sci-fi books contain many fascinating ideas for future technology, but the way its authors imagine warfare has birthed some harrowing concepts.