I'm sure there are plenty of people who work at big companies for precisely this reason (or at least, with that as _a_ reason among many).
Yes, much of the prestige has worn off as the old guard retired and current leadership emphasizes chasing AI buzzwords and cutting costs. But still, big companies are one of the few places where an individual really can point out something they worked on in day-to-day life. (Pull out any Android phone and I can show you the parts that my work touched.)
And it takes a while for a young dev to register that the goals that the larger organization pursues are going to win out in the end anyway.
It's always the same. People trying to make things better for the next developer, people prioritizing delivers instead of ego-projects or ego-features by someone playing politics, developers wanting a seat at the table with (dysfunctional) Product teams, people actual good intentions trying to "change the world" (not counting the misguided attempts here).
You are 100% correct, you gotta play the politics, period.
No one works for any BigTech company because they think they are making the world a better place. They do it because a shit ton of money appears in their bank account every pay period and stock appears in their brokerage account every vesting period.
I personally don’t have the shit tolerance to work in BigTech (again) at 50. But I suggest to all of my younger relatives who graduate in CS to “grind leetCode and work for a FAANG” and tell them how to play the politics to get ahead.
As the Dilbert author said, “Passion is Bullshit”. I have never been able to trade passion for goods and services.