Professions threatened by technology have proven surprisingly resilient throughout history. That is worth remembering as AI assumes more human tasks.