There’s a key point in the article that emphasizes that valve are indeed “being nice”: their policy is " upstream everything".
Yes the motives are still keeping a foot out in case Microsoft decides to screw them over in some way, but they could (as many companies do) keep the improvements all for themselves, buy developers and make a closed source version of any of the tech they have been funding, locking down steamOS to only allow steam games and so on.
They couldn’t legally create a closed source SteamOS, but they also aren’t required to “upstream everything”.
I’m not a legal expert of any kind, but AFAIU they are only legally required to send you the changes they made to the source code on request (with GPLv3).
Though I disagree that this is Valve being nice, IMO doing this makes sense for most companies working in this space, as their code being accepted upstream means they benefit from anything the community has built up around the project, and they don’t have to play catchup with upstream.