The lesson is to work on topics that are used by billions and make something small and useful, that is hard to replicate and thus worth a buyout.
Microsoft could have put 3 of their programmers to work on this for one month. But it's probably faster and more convenient to just buy it out.