What history can teach us about the AI job apocalypse.