Apple doesn't really have a choice except to offer long support.
Android should offer long support windows, & the hope is there we will someday see this growing significantly (Project Treble & others).
But, Android devices let you install your own OS (if you can get an unlock, caveat #1). The device might not be supported by the manufacturer, but it's still possible to support the device. Which by virtue of being Linux needs to have sources available. Caveat #2, it's often a terrible vendorized kernel that will be incredibly difficult to use (but again Project Treble is trying to tilt the needle here). There's huge caveats, but at the same time, there's also a lot of quite old devices out there that can run quite modern OSes, without the manufacturers help. Which is something no iPhone iPad or iTv can do, and there's seemingly nothing on the horizon with promise to unbind these devices from Apple.
Android should offer long support windows, & the hope is there we will someday see this growing significantly (Project Treble & others).
But, Android devices let you install your own OS (if you can get an unlock, caveat #1). The device might not be supported by the manufacturer, but it's still possible to support the device. Which by virtue of being Linux needs to have sources available. Caveat #2, it's often a terrible vendorized kernel that will be incredibly difficult to use (but again Project Treble is trying to tilt the needle here). There's huge caveats, but at the same time, there's also a lot of quite old devices out there that can run quite modern OSes, without the manufacturers help. Which is something no iPhone iPad or iTv can do, and there's seemingly nothing on the horizon with promise to unbind these devices from Apple.