This is absolutely same for non free business.
If you specialize in a niche and it disapears or someone else gets better at it
then no god will help you.
Evolution works against you and you end up in stomach of some competitor.
Look at Microsoft.
Desktop is now only a small part of business.
They went after servers only ~10 years after desktop was launched.
Now they are in office, cloud computing, search, even gaming and a lot more.
Look at Oracle. They develop not only database but also application.
Look at IBM. They went for service years ago.
Look a Dell. They are going for service for a few years now.
Look at Apple. They are selling mp3 and service around it.
This is simply wise corporate development.
That is called diversification.