Without legislation, it probably won't become the norm. With Apple, they know they will capture the value of future device purchases since if you want an iOS device, they're the only seller. Margins can be better since they're the only seller which leaves more money to support the product long term. Long-term support positions them as a premium product.
One of the big issues is that Google can't patch an issue and then push it out to everyone. They need buy-in from phone manufacturers and even carriers who have customized Android. Apple doesn't need any coordination. They can update iOS when they want to and they control all the hardware it's running on.
Yes, you'd think that competition might lead people to become loyal to one Android manufacturer if they provided longer-term support, but I think the ecosystem encourages shopping around for the best deal/promo rather than brand loyalty and money spent on long-term support makes products more expensive.
I think part of it is even a different market segment between iOS and Android. I think a lot of iOS users are people that want something that just works that they don't have to worry about and are willing to pay for a premium product that does that. I think Android users are split between power users who want to upgrade frequently (negating the utility of long-term support) and low-end users who don't care or need to prioritize purchase price over updates/security. Again, needing 2-3 parties involved for updates makes them more expensive, more difficult, and less likely to happen.
Part of it is simply the Apple experience. Apple Stores aren't cheap. Apple could use cheap materials and try to build stores that look and feel like most retail. That's not their game. They're looking to sell a premium experience and part of that includes long-term support. Of course, that comes with a price. It's easy to find $100 Android phones, but not $100 iPhones.