Like all companies Apple does well when it looks after its users.
In the case of both the App Store and third party repairers that involves protecting users against bad actors. I have downloaded dodgy apps in the early days of the store and have had repairers use counterfeit, defective components for my Mac.
Unfortunately protecting against bad actors inevitably comes at the cost of openness.