I think it's reasonable to expect both, even if indirectly. Participating in a well-organized open source project confers extremely rich experience, and employers do take notice. In my company, the folks who spent time in the community generally noticeably out-perform the ones who grew up exclusively in industry (which should trouble industry) at similar years of experience. If you want to end up highly-compensated, it's a great way to spend your time.
The real challenge for the open source community is how hard it still is to make a living sticking to the original open source work, instead of taking your talent and leaving one day. Wine is one of a few exceptions with some companies in its ecosystem, but generally speaking there's not enough upstream-work jobs for a lot of important open source software infrastructure.
A lot of the work required to get games working transparently on Wine was thanks to Valve, who released Proton as open source, along with heavy work on DXVK to simulate DirectX, etc.
Of course they did it because it benefits them, but still they could have kept it private and it would have boosted only Steam sales. Instead it's a win for them AND for the community, an example that should be followed by other companies.
What a time to be alive indeed!
The outcome is still good for the community, but it doesn't mean Valve did it out of the kindness of their hearts.
Is Valve still just a company with profit as its main motive? Yeah, that's the point. But it can do helpful things as a side-effect.
The main sponsor of WINE is CodeWeavers, who have been paying folks that work on WINE for a very long time, and are involved in Proton development:
They sell a supported version of WINE for Linux, macOS and ChromeOS, as well as providing engineering services to clients like Valve.
These last paragraphs just made me realise how grateful I am to people who work on these open source projects without expecting any compensation or even praise for their work.
It has happened once or twice that I tried running something in Wine and it just wouldn't work which made me a little annoyed.
But reading how complex and difficult it is to make such things happen I am surprised the amount of effort it takes to even make Notepad.exe work!