For an example, see this summary of the baseline for warranties in the EU
http://europa.eu/youreurope/citizens/shopping/shopping-abroa...
I suppose the reason why the software industry gets around this is that you can't buy software but only license it.
Do you agree to an EULA when buying an MBP or another laptop, implicitly or otherwise? Serious question.
AFAIK, as a consumer, you cannot sign away these rights for physical products. For software, which you license, i.e. acquire usage rights, the situation seems to be different.