The maxim that no one goes into a PhD to get rich is true, but at the same time, no one goes into a PhD to be unemployed or to become a teacher. Theres no reason to invest a decade doing primary research when an undergraduate with a masters in teaching will suffice.
I know many people that did a PHD on the sole basis to become a teacher as this was the best they could aim for in terms of pay/benefits.
And while I agree that there's high variability in quality of work, both between and within disciplines, I would argue that there have been mountains of really fundamentally useful things that have come out of CS academia (and EE / computer engineering academia to support it), both historically and recently. Everything from programming language theory and optimizing compilers, to modern computer architecture, to all of the fundamental algorithms and data structures, to the basis for modern machine learning and distributed systems and ... I could go on. Industry applies and polishes it, but (in my experience at least) there's simply no way that most of industry would tolerate the multi-year risky projects that lead to useful breakthroughs.
Now, as to whether good science is being done in those fields, I'm not qualified to say.
Plenty of people in the biotech industry just have a bachelors. There's still some holdovers from academia who insist that PhDs have to be the ones making the science decisions, but it's still not as ossified as academia.
If you want your tech (in biotech) to be novel, then yes you need people with experience who can imagine solutions to problems.
It was a sad conversation but not surprising. So many students, myself included, invest such significant portions of their lives pursuing a level of education that statistically won't be useful for them or society.
There are no jobs available, funding is drying up and specifically theres an over supply of PhD qualified researchers out there. Thats not to say doing a PhD isn't a bad idea, but from an academic persective there are better alternatives. Especially in the biology field.
After the 7-10 years it takes to pursue a PhD one could become a clinical specialist, employed with arguably better working conditions and research prospects.