That doesn't make sense. Science can have huge contributions, and any decent capitalistic system must reward that. If you have people working for poor wages while doing important things, it means the wrong group of people got too much power.
People get paid for work they do that generates profit for the people paying them to do the work. Science, by its very nature, benefits society as a whole as opposed to the people who pay for the science. Patents are designed to correct this somewhat, but often aren't really enforceable. Most companies also don't have the lifetime to benefit from long-term moon-shot projects. When companies do promote science, they usually have a monopoly (for example Bell Labs).
Also, the supply-side of the equation is very important. There are plenty of people willing to be graduate students and post-docs for low pay, so they won't get paid much even if the work they do is important. This is made worse by the huge number of foreign workers who are willing to work for peanuts as postdocs and graduate students, see:
https://psmag.com/the-real-science-gap-f00edae57ba1#.pbo4crt....