This is probably not what you want to hear, but in any place where lots of people work together (whether industry, academia, government or charity organisations) the social aspects of the work and the competition for status and resources will eventually overtake the actual work.
Your question "if not grad school, then what?" may well not have an answer at all.
I have reluctantly come to accept over the years that my intellectual interests need to be catered to separately from whatever I need to do to economically sustain myself as an adult.
Some lucky people find a good fit (irrespective of institution, academia or industry) but most of us flail around most of the time.
You must know that many in tech have a very different experience than you (proud of their work, like their colleagues, feel care and development from their boss.)
Similarly many in academics love their work and others hate it.
The difference probably has to do more with who you are / how you go about it / attitude than the field.
It would be valuable to reflect what makes you so miserable in your current field while others are able to thrive. I don't know your situation but some guesses: do you have enough focus on getting into the good environments (eg, Google?) and if so - what's holding you back? Skills, drive, attitude? Do you relate to people or are you a judgmental asshole? etc etc.
I don't know the answer but what I am saying is - you probably won't be happy in academia or anywhere else unless you figure out what's making you not happy where you are.
People can find bliss and happiness even in the direst of circumstances - and sometimes they have no choice but to do just that. As obscenely well educated people living in first world countries, we do have a choice - and advocating complacency for the sake of making your life easier reeks of moral degeneracy if not outright solipsism (same goes for repurposing Zen - "wherever you go, there you are" - to help you turn a blind eye to the world). We can do better.
“The reasonable man adapts himself to the world: the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man.”
If this guy engages with his colleagues with that mindset, what kind of experience can he possibly expect?
And my point is - if he brought that attitude into academia he'd get he same outcome as well.
My own grad school experience was pretty good overall, and I had little to complain about. I read the book mentioned in this post fairly early on and it sounded like the experience would be horrific, but mine wasn't. Possibly this was due to cultural differences between the US and Australia, the latter being where I studied. As I went through my degree and got into teaching though, I started to see enough warning signs that staying long term wasn't going to be a good experience, so as soon has I had my PhD I decided that's where I get off the train.
Since then I've worked in industry, and had both good and bad experiences. There are plenty of horror stories about poor managers, toxic company culture, etc. around I'm sure you're aware of. But there are also companies that have a good working culture, place a high priority on quality and technical excellence, and are generally great to work for.
Am I glad I went to grad school? Absolutely. It was a tough but rewarding experience, my current job (in the latter category above) is an opportunity that came about only because of the research work I did in grad school. I'd say the benefit of grad school is it opens up more opportunities for you to choose from, whether you decide to stay in academia afterwards or return to industry. Both can be good or bad depending on the specific institution/company you work for.
Independent research. Science doesn't have to be restricted to ivory towers. It's <current year>, we have the technology.
...then I have some very bad news.
If you're doing a PhD, good luck and enjoy it - I think there's value in a PhD, still, despite the flawed system.
If you're doing research or going on to do research, then I hope you can find a niche full of scientists and not politicians. Those niches are hard to find.
If you want to just learn stuff, why not do some Master's degrees? You get close enough to the edge that you'll know a field well, but not so close that you end up spending a lot of time doing politics and advancing very little. You'll also get close enough to soak up advances from people who decided to do phds.
She does math and statistics and stuff; She said she is fed up of writing papers with or without real usecases; Reproducability and co.
She also is now regretting the low salary and her not having much of savings due to it.
I gave myself a new goal instead: making as much money in a normal ethical way as possible, exiting with 50 and then doing what i want without pressure.
Perhaps i will write code or will do something totally different.
I've worked in the tech industry for almost a decade and I'm returning to the academy because the tech landscape is filled with scam artists, MBA's and ego-tripping managers - which would be tolerable if you actually got to work on something that wouldn't be completely rewritten or became irrelevant in two years time, but that's just not the case...
Correct me if I'm wrong but in the academy I hope to work on research which has at least some consequences on the future, and to find smart and kind people who are actually interested in knowledge for knowledge's sake, even if they are surrounded by gray bureaucrats.