A Cornell Tech professor and blockchain luminary has written a cautionary novel about smart contracts gone rogue.