You're arguing a different point. If modifying is allowed, then they cant restrict the parts by voiding the warranty. If modifying isn't allowed, then it isn't allowed regardless of any brand of parts.
Software mistakes cannot always be fixed.
I love modding my computers, consoles, smartphones, and various electronic devices, but I do so full well knowing that if I fuck up, it's my fault and not Apple's.
Sure, an iPhone is usually recoverable, but if for some reason it isn't, I take full responsibility and don't expect Apple to provide me with another guinea pig free of charge.