I don't quite see why it should be contradictory. Yes, teaching imparts already existing knowledge. But on the one hand, there are not only pure fundamental lectures, but also seminars and project courses, in which new procedures are often tested or evaluated together with the students. On the other hand, no professor exclusively teaches or does research. In addition, professors have the opportunity to apply for a sabbatical, during which they have time to focus on their research.
At least at my university, it was also common for most lectures or courses to be taught by doctoral students or research assistants.
It might be helpful to view this from a scientific research perspective. UX research is more about how things should be done to provide a better usability for the user. Like, general respectively abstract concepts (e.g., how should a chatbot present itself when it first "talks" to the user, which UI components could be involved). It's not about how to actually design those things, i.e., applying CSS to an HTML document if you will. UI design is mostly a dev job, while UX design is more of an actual research discipline.
I once was spending large amounts of money on physical tech books, mostly on new programming languages or frameworks. However, I felt that by the time I was buying them they were already outdated often. Today, I usually start learning by just doing it, using the new tech and keep my way googling until I somehow become comfortable.
Maybe a quick look to Germany might help. The 9 Euro ticket was / is a great success on its own. However, the more important thing is that people are now actively talking alternatives for transportation, like cheaper / free public transport, investing and building and so on. That kind of discussion would've been unimaginable some years ago.