I dunno about that. Facebook open-sourced React, Google open sourced Closure, Microsoft gave us TypeScript and VSCode, Twitter created Bootstrap, and that's just the most obvious front-end stuff. And they continue to fund these projects. Some of the most evil corporations on the planet have given back significant open source projects. Hard to say whether they take more than they give.