The display is the single most expensive component in a smartphone. For cracked displays, Apple can replace the cover glass only while salvaging the actual panel.
Ok, I misunderstood you. I thought you meant they just kept the same glass covering the display and only replaced the chassis and the battery. Still that’s gotta be difficult due the the display being glued to the glass but hey it’s Apple, I’m sure they got machines to do it lol.