It's far worse than this. In my field, even in industry I have had far more lucrative offers from quantitative hedge funds than any industrial research labor. Let alone staying in academia, where it literally starts to become a factor of four (or more) difference in salary between a postdoc and finance.
The only reason I did not bite is because I am fortunate enough to have no college debt even after undergrad and phd. Most are not in a position to be so picky.
Thankfully, my work is sufficiently specialized and my background is strong enough I am not easily replaced. However, like many on HN I'm not representative of the general population and am certainly in a fortunate position. I am on a 'tenure track' in an organization where proprietary work and intellectual property I develop is legitimately valued.
But broadly, I agree. And I've seen some pretty horrific results along the lines you alluded occur to several of my colleagues.
The sad reality is that right now, those concerns can be dismissed. There is a huge supply of good researchers (especially foreign researchers) who are willing to work under poor conditions just to get a shot. Until there is more money in the system / more positions / fewer people in academic science, you are going to see PIs with unreasonable expectations because they know they can get away with it.
Not only that, but they know the next lab down the road is working just as many long, hard hours.
I left my research position studying hereditary influences on cancer development to work in auto finance. Lots of people in my position doing the same. The talent pool is shrinking.
If this is what we setup, we absolutely deserve to lose scientific progress over it. Then, perhaps we'll learn, figure it out, and set it up right. Expecting people to sacrifice themselves for the greater good while they're being exploited is both foolish and immoral.
Society benefits from scientific research. Dismiss its wage problems at your own peril. Sadly, a lot of research is outsourced to universities because labor is cheap. Why pay someone loads of money when you can contract with a university lab? It might be good in the short term, but the talent is leaving research in search of greener pastures.