The solution is to use technology to replace high skilled professions with average Joes. These high skilled professionals can just go do research, and there is always more research to be done. The average Joes will be aided by a combination of technology and human supervision to do a job that is effectively as good as a professional would have done it.
For example, a nurse might be retrained to do diagnosis. Instead of learning the corpus of medical literature they will have Internet access to a database and supervision from an MD. So that way we might be able to replace many MDs who will instead go into research.
I think that is the sane way forward. And it won't be a solution for everyone, of course. But I think it should be doable.