Something I should probably say out loud because it keeps irritating me: corporations open-sourcing some code that they wrote for themselves is NOT a "contribution to the commons". It's dumping some scraps to keep up appearances.
Genuine contributions to the commons look like "understanding what other people need, and making sure that your contributions are also a net positive for them, and not just tailored strictly to your own needs".
The power of the commons is that it's a shared pool of resources for everyone to mutually benefit from and contribute to. Nobody ultimately benefits from your "SDK" or your "design system" (ie. branding guide) or your highly-specialized UI library or orchestration software, except for you. If at least some part of your work isn't selfless and without commercial benefit, you're not really contributing.
Almost no companies actually, genuinely contribute to the commons. An example of a company that does do so, however much I dislike them for other reasons, is Valve - their contribution to eg. FEX and the WINE ecosystem are useful for everyone, not just for Valve. Be more like them and less like Google.
Edit: And to highlight this bit in particular: "contributing to the commons" as a company means maintaining your contribution. Not just dumping it on Github and never looking at it again.