This is the root of it. They're generally not "repairing" product. They're replacing in-store with refurbished models, using iCloud backups to transfer between the two devices. With this approach, they probably do lose money, but only because their devices are so difficult to actually repair.