However, I would say there's a lot of pointless research. Lots of graduate student and postdoc working hours are spent to produce results that no-one could possibly think are interesting or useful just because papers need to be produced.
I think it's the reduction of the system into a career mill (PhD for students, tenure for postdocs and grant money for professors) that ruins it. Science is inherently too unpredictable to be reduced into an algorithm that just about anyone can use to produce knowledge.