All of my Apple laptops (maybe even all their products) see about 5 to 8 years of service. Sometimes with me, sometimes as hand-me-downs. So they’ve been pretty excellent at not winding up in the trash.
Even software updates often stretch as far back as 5 year old models, so they’re pretty good with this.