This has been - and will continue to be a problem for every product. One of the best/most obvious examples of this over the years has the automotive sector (unfortunately with GM leading the way, but not alone). It had gotten to the point where 'conventional wisdom' suggested that you 'never buy the first year of a new model'.
Things have improved a LOT over the last number of years in that area - due mainly to robust competition. The testing performed now on a new model is exhaustive. Even with this, recalls are hardly going away any time soon.
So - the only way to improvement of this situation is robust competition, and perfection is NOT attainable. That said - things ARE improving - especially in the speed of fixes.