Linux is one of the great examples where FOSS has built up momentum and outrun several commercial competitors. Ditto for git (which actually was a bit "FC" in the first place). GCC and LLVM have between them stomped a few commercial compilers.
If you want examples of open source lagging the commercial equivalent: FreeCAD Vs SolidWorks, KiCAD (which is beginning to edge out some competitors: Eagle just went down) vs Altium, GIMP Vs Photoshop, KDEnlive Vs Premiere, Octave Vs MATLAB.
Not to say they're not amazing projects, or that they don't have their own share of technical debt, but they'll all have to play the long game to reach the overtake (and they're all decades into the race, so it's a slog).
Not being into home automation myself, I can't really comment on open source in this space, but the commercial churn puts the FOSS approach in a good place for the software side. Hardware, not so much.