Your Apple analogy might be quite apt. Mac has a market-share of something like 14%, but that's not Apple failing, that's Apple succeeding in targeting the expensive end of the market.
Firefox has a chance at doing the same thing with privacy-aware users and/or power users.
To that end, they need to stop dumbing-down the browser and endlessly playing catch-up with Chrome.