Re: You were lucky.....
Apple does not have your best interests at heart. The only thing that interests them is your wallet.
Apple's idea of securing your data is to make it completely unrecoverable, or tell you it's gone even when it can be retrieved.
Apple's idea of repair is offering a $1000 motherboard replacement, when the fault is a blown $0.10 capacitor. AND kiss your data goodbye.
50 volt power rail immediately adjacent to a data line.
Parts that fail short circuit and damage downstream components, when a slight redesign would result in open circuit failures.
Apple's authorised repairers are just as capable of butchering your device as any backyard hack. And when they do, they'll cheerfully lie to tell you a cable or connector they broke is "water damage".
You're not paying for security, you're paying for a logo and substandard engineering.