From Afghanistan to cyberattacks, Frank Herbert’s novel anticipated and shaped warfare as we know it.