A new thriller novel offers up twisted scenarios of the tech revolution gone wrong