It’s included in New Zealand too, due to the consumer guarantees act, a fantastic piece of legislation. Possibly summarising to the point of error “a purchase should last as long as a reasonable person would expect”.
I don’t know the answer to that. Electronics like phones seem to get a minimum of 2 years and extended warranties are generally not worth buying here, though some do extend for 10+ years.
Does every instance need to be tested in court? Seems ripe for unpredictable outcomes.