I totally understand and agree, I just feel like with the progress that we have in automating informational work, you are going to have an exponential amount of these "deaths" as new fields where humans can provide any kind of value get more and more short-lived.
At some point in my suggestion the machine will ask better questions than you, and that will be pointless as well, and you keep doing what you like doing, or you move on to something new. But if you keep tying your value to outcome and recognition instead of process you are going to have some incredibly depressing years ahead, and every time will just be as hard to stomach because of your ego.
At some point from your description there will be no need for human workers at all. The real question is what happens as we continue to advance in that direction and we eliminate mathematicians, and then more broadly scientists and engineers, tech workers, and all knowledge workers. People can’t “doing what you like doing” if it doesn’t support them being able to make a living.
It sounds like it could be a pretty horrible world for the majority of people, especially if the AI overlords are only concerned about themselves (be it a small number of people who control the AIs, or the AIs themselves becoming independent entities that prioritize their own lives).