Don't they simply alert every one or two years or at a set mileage whichever comes first?
This is the traditional way of doing it.
However, two minutes thought will tell you that its rather arbitrary. So engineers decided to try and actually measure when the oil needs changing. After all, you wouldn't consider changing other things like brake pads on an arbitrary whim such as every year! No, you'd try to figure out a way of telling you when they need changing, such as a pad wear sensor.
It turns out that oil is a tricky thing to measure the quality of as there are so many variables.
It also turns out that oil quality has improved tremendously over the last few years as research has progressed into what it actually does, as has the tolerance of engine manufacture. This has resulted in oils overperforming, and so a normal service life can be pushed out a long way. Bizarrely this has made the need for a quality sensor actually more important to catch the outlier cases, and to help you wring the maximum life out of the oil.
This is fine for commercial vehicles/ships etc where downtime is expensive, and an oil change can use 100s of litres of oil. Sensors exist for these situations though.
Cars are different. They don't normally have a life anywhere near a commercial vehicle so in 95% of cases oil quality isn't going to be the limiting factor. This makes it more of a marketing issue. If you offer a super high tech variable service interval, you can use that to sell more cars.
However, you then sell less oil at services because there are less services if it works properly. Thus there would appear to be a compromise whereby you offer some form of high techery but hobble it so the cars still come back for near annual services.
Companies seem to have got bored with that so have now moved back in general to annual services (Oil is only one thing that needs maintenance after all!) with the option to either buy a discounted service plan, or by buying several years servicing in advance to keep you coming back