What do you mean by “only”? You can really expect companies to behave irrationally. Pretty much every company funding Linux development do it because they expect this to benefit them somehow.
https://www.neowin.net/news/valve-co-founder-windows-8-is-a-...
Take a wild guess when they started pushing steam on linux, and which version of windows introduced a store.
I think a lot of folk have a hard time reconciling that there may have been non-altruistic intentions behind something that is enjoyed today.
Similarly, Steam itself was a hedge against physical distribution to cut out the middleman. It wasn’t originally envisioned as a store for anyone but Valve.
But here we are today, and both have positive side effects that actually have outlived the original design.