Uber requires that your vehicle be less than 16 years old:
https://www.uber.com/us/en/drive/requirements/vehicle-requir...
Plenty of 10-16 year old vehicles are in good condition and will pass an inspection.
You can keep a vehicle in good condition indefinitely because vehicles are made of modular parts and parts can be replaced as they wear out. Whether this is worth doing depends on the expected frequency of future repairs, which in turn depends on the specific make and model (there's a reason the most common ride sharing car is a Prius), how well the car is maintained and how stupid you drive it, but most cars continue to be worth maintaining rather than scrapping until they're 20-25 years old. Which is why the average age of vehicles on the road is just over 12 years, implying that they last approximately twice that long.
Perhaps someone from Uber saw my comment and updated the requirements. If so, they must’ve been working on the weekend!
https://www.uber.com/ca/en/drive/requirements/vehicle-requir...
This is presumably some kind of regulatory requirement since it's jurisdiction specific. But even selling the car at 10 years old under similar conditions still causes the depreciation to be less than $0.02/mile.
On the other hand, that's around an extra $1000 over the life of the car, and who is to blame for that increase in costs on the driver? It's not as if 10 year old cars are meaningfully safer than 12 year old cars, nor would non-trivial numbers of people be using significantly older cars than that to begin with. Is this really just the Canadian government screwing the drivers for want of something to do?