Replacing hardware parts and replacing software is diferent. Unofficial "jaibreak" software updates can contain errors or backdoors or intentionally written malicious functions programmed to be acivated on a special day.
Unofficial replacement parts can also be of lower quality and fail just as dangerously if not more so (e.g. a suspension part can break and a wheel literally falls off.)