Windows is only 12% of Microsoft's revenue, and between Mac, Linux and ChromeOS, it really doesn't have a monopoly anymore on desktop (about 70%). On top of that, desktop usage in general is decreasing, and is already less than 50% of all web traffic.
What I'm saying is that I think it's safe to say something else will likely "kill" Windows long before Linux ever becomes a serious threat to it.
I haven't seen the episode yet that I think you're alluding to, but yes Vulcans have always been presented as having a kind of Buddhist-style philosophy with the important qualification that they would literally destroy themselves as an advanced race without it. The "religion" is an important social technology to enable them to explore the cosmos.
It's obviously alluding to humans too, if we can't control our innate animal reactions like tribalism and greed then we too will not be able to harness our own (physical) technology without self-destructing.