I don't know if SAP contributes but Microsoft pays for C#, VSCode, and other open source projects. And further they support open source by providing github, github's free site hosting, and github's free CI.
Also, nobody told them to buy Github. It wasn't a charitable acquisition.
(I'm sure there are similar arrangements for other projects - that's just the stuff I'm familiar with.)
However, Python is an example of a large and prominent OSS product. Generally speaking, stuff like that doesn't struggle to find sponsors. But there are all those countless small OSS projects that get used by for-profit companies without any financial support for their maintenance. There needs to be some arrangement to accommodate those, as well.
That barely counts, as C# is very Windows-centric AFAIK.