If your modification or repair can be shown to contribute to a problem/ accident, you're held liable, not the manufacturer.
Instead it was used, and abused by manufacturers - "Oh, your transmission blew? Horrible! It's a real shame that you put aftermarket rims on your car, those are non approved parts and void your vehicles warranty!"