What should happen is the company also contributes libraries back to the community, although Nintendo doesn't seem to https://github.com/Nintendo. The reason that the internet is as big as it is and as accessible to small and scrappy development teams is because of open source. A lot of the internet is built on code which is given away by companies like Google and Facebook so there is a bit of give and take in this.