The question is whether those flops should have ever happened. I admire Google that they will kill unsuccessful products, but I question how well they understand the market when they have so many products to kill.
Apple does not follow the spaghetti cannon strategy. However the risks of manufacturing a device that doesn't sell is higher than launching a website that nobody uses. It makes sense for Apple to take their time. As a side-effect they've accumulated a huge stockpile of cash.
Should we have never had the Space Shuttle program because a couple of them crashed?