Microsoft is pushing some invasive stuff in Windows 10 but they totally get away with it. I don't believe that the only way to stay in business is to play nice, at least not in the short term that managers can oversee and will base their decisions on.
SourceForge is from before my time. When Github was still small, I was still being brainwashed by school's free Windows and discount Office licenses and school educating us in using Microsoft Office. From my current point of view, though, SourceForge was never as big as Github is now. Almost every development company pulls code from Github, either in an automated fashion to pull in updates, or casually as they need random things that are published there. I don't think that was ever the case with SF.