Depends on how you look at it.
"Mistake" doesn't seem like the right word. The Mac OS has about the same market share in the computer world that mercedes has in the auto industry. I wouldn't consider mercedes a failure because they don't own the market.