I brought my out-of-warranty iPhone to the store last week because its battery was swelling, and they couldn't replace the battery due to employee safety issues. So they simply gave me a brand-new identical phone for the $29 battery replacement price.
In my experience, Apple goes further out of their way to give customers low-cost or even free replacements in far more cases than I've ever seen any other company do.