I don't think this is always true... it seems to me that they have tried to reproduce it first and if they fail then they consider a buy. Google video, orkut, free411, office... etc. They also don't always buy...
You probably have to worry more about them producing a technology that obsoletes your app...