From a business perspective
I am a CTO in one of my roles, a paid-for-developer in another of my roles and an OSS developer in yet another one of my roles.
it makes sense to use open source software from a business and developer's perspective, for many reasons.
However, as suggested already above, a company that gains from using OSS should also actively seek out the foundations / people behind the OSS and be prepared to pay these a royalty fee. What is the amount of royalties that you should be prepared to pay? Under the assumption that you have a Research & Design budget, you should aim to spend at least 10% of that on OSS. If there isn't an R&D budget, you should aim to spend at least 10% of your "vertical" (CTO, CIO, CFO, etc...) budget on OSS. (Why 10%? Simply because a charitable gift of 10% is accepted as a treshold in many religious contexts ;-) Not that I'm religious, mind! It's also a nice round number: dividable by 2 and 5. where 10b represents 2 (as in 2 people / organizations that profit from the charitable donation)...)
This would be for OSS that you use directly. E.g. Linux Foundation if you develop on Linux machines, OpenSSL if use encryption in your software. If you have an AWS server that runs Linux, Amazon should be paying the Linux Foundation of royalty fee, not you.
The royalty fee can be given in a number of ways: Money, hiring an OSS person and pay their wages, taking over the cost of infrastructure for an OSS, etc etc.
How to divide the royalty budget? Depends on how much you actively use each OSS, really... Yes, this requires some investigation at first, but the pay off is that the software you rely on will have a chance to be maintained in the future.
Now, honestly, I don't particularly care about how much / if at all OSS contributors are paid, however the open source software that is written as a whole should be funded.
It worked the same way in the music industry for years (before copyright kicked in): anybody could record songs from any songwriter or other artist. But you had to pay royalties to them, because it was their original art. Much like it kind of still works with books... You pay the publisher who pays the author.