Things have already begun to fall into place for that reality.
The cars might then use AI/ML/networking to optimize their individual routes and schedules for their daily passengers, to ensure a continuously smooth flow of traffic.
Few people may even need to own a personal car.
What might Apple's advantage be in that world? The same as today I guess; seamless cross-device integration and maybe an ecosystem of in-car apps. Would it be enough to compel someone to purchase their own, likely very expensive, car?
In 5 years? Unlikely.
> What might Apple's advantage be in that world?
If the world changed that fast, then instead of trying to sell cars, Apple would just create their own car service, and integrate it with iOS/Apple Maps/Siri/etc., and everyone in the Apple ecosystem would seamlessly also be on Apple personal transportation platform. (At least, in the places that service had rolled out, which would probably be chosen in order by the density and likely transport profitability of the existing Apple ecosystem population.)
The timeline seems optimistic, but 2025 could be feasible in key cities.