Perhaps if the analogy was between science and engineering.. A plumber would say "yes" to the genie that solves the problem immediately, if he/she got paid for the work instead of the genie (or the corporation providing the genie service). In that case the plumber is redundant and unnecessary, the customer can just ask the genie directly. A scientist would say "no" because the whole point of science is the knowledge and understanding, which is gained by the process of discovery and not given on a silver platter.
I also kind of love the subtext in these responses that there is something suspect about crafts.
If we can now know anything we want, we have an age of unimaginable abundance before us. I think it's more likely though that we will just be able to know more things than before and/or maybe learning new things faster - which is a good thing too, but there is still work for human scientists to do
“May your every desire be immediately fulfilled.”
And this analogy breaks down further given that both the real now genie and the hypothetically more powerful genie of the future would each work for your (ex) employer.
To my knowledge, none of the negative sentiment regarding AI has ever been directed at its medical applications. Maybe the AI companies should instead focus on those things.
I should have put have put things as "when you are primarily interested in some benefit outside of the task at hand". Some of those benefits might be great, sure. But it's still not necessarily going to improve the enjoyment of the professional.
Edit: Also, not all of the things on your list are the same. I would note that P!=NP would be a theorem whose proof would offer no practical benefits except for the potential mathematical machinery created to achieve the proof rather than what it tells us about practical algorithm time (the theory is about worst case, not average case, an algorithm that's O(n^100) is as effectively intractable as an algorithm that's O(2^n), etc).