Every single knowledge worker is going to face this kind of crisis. It will be worse for people who cared deeply about their craft, but the crisis will have the same shape. The way through is to change the way you relate to your work, and to appreciate the fact that you can now produce far more output.
Mathematicians should realize: instead of spending decades on individual theorems, you can now create whole new subfields of mathematics. Of course, you won't be doing the creation directly, in the way the mathematicians of old did; that's just not the name of the game anymore. But you will still be directing the research and involved in the creation.