Dystopian fiction always has fascinated me because writers such as Philip K. Dick and Ray Bradbury based their stories on real-world trends—and simply took them to logical extremes. Storylines involving, say, departments of pre-crime that arrested people based on algorithms seemed preposterous, but have turned out to be creepily close to the mark.