I don’t know where you are from, but in the EU and UK, consumers get 4-6 years of hardware warranty, on all tech products. Look into the legislation. I got a MacBook replaced after 5 years.
Im not sure why are you so certain about it. I am living in the uk and the example I gave about the MacBook happened here. The law in question is the consumer rights act of 2015, specifically section 105. Scroll down on the page and read it. I invoked it 3 times already with different companies successfully.
Section 105 explains explicitly that it's not a warranty:
>For example, the statutory right may not be breached and so a consumer would not be able to obtain a remedy if, say, a very cheap kettle stopped working fully after four years, as a reasonable person might not expect a bottom of the range kettle to last that long.