Apache (a server, huge lock in) and a text editor (no lock in) are not comparable.
Open Source is driven by paid competition, and vice versa. Linux wouldn't exist without Windows, and Firefox wouldn't exist without Internet Explorer. And Linux and Firefox both in turn pushed their close-source competitors forward, too.
I love open source (I used to work at Mozilla), but some of my favorite tools only exist because someone is getting paid to work on them full time.