They're also incentivised to make devices smaller, more waterproof, and increase battery capacity to size ratio. These all push for 'just glue it together'.
I think Apple is incentivized to trash broken devices, rather than attempt to repair them even themselves, because of the massive margin, and thus low marginal cost. It's more lucrative for them to make the devices unrepairable and have you buy a new one (or give you a new one, if it's under warranty), than make them repairable for everyone.
The warranty period just incentivizes them to make the device better quality so they don't break due to manufacturing defects.
All have had smooth experiences. Without AppleCare it’s something like $59 or thereabouts. Apple’s made it very easy to go to an Apple Store to have them replace batteries.
Of course, that doesn’t solve the problem for people without an Apple Store nearby, or that need other repairs.
But at least where I live, I haven’t needed to replace an iPhone battery myself in at least 5-7 years or longer.
But it's even cheaper to give you a tenth of an iPhone if possible. It's why they have these repair guides - they're derivatives of what they use themselves in their own stores.