From Jorge Luis Borges to George Orwell and Margaret Atwood, novelists have foreseen some of the major developments of our age. What can we learn from their prophecies?