I think these requirements are very reasonable and we have an existence proof that it is doable.
I know that Apple supports its hardware for seven years in California (and not other US states as far as I know) due to state law. I can’t imagine other manufacturers are immune to this same law.
I’m not holding Apple up to be some paragon of virtue, but it was easy for me to find what they write on the subject: https://support.apple.com/en-us/HT201624