There is also another issue why Apple is restricting "part harvesting": theft. iCloud locks or Samsung's KNOX lock entered the field because the manufacturers were pretty pissed that customers using their devices in public became a target for "enterprising" robbers who'd factory-wipe the devices and flip them to a pawn shop or second-hand store in a matter of half an hour. When people are afraid to use your products…
While anti-consumerist practices such as this authentication mechanism sometimes accidentally protect the consumer, it is not the reason why companies do it. If it were, they would also allow you to say “yes this replacement is desired.” Similarly, if it was about security and preventing backdoored parts, they could allow you to authorize the replacement. But no, it is of course about money grabbing, and then the con…
Imagine how happy someone would be if they had their display replaced with a stolen one and next thing they know their phone is both bricked and of no value even for parts.