Yes, we can imagine a future where all cab drivers are unemployed, replaced by autonomous driving. However, we don't know when this will happen, because autonomous driving is a much harder problem than the hype from a few years ago suggested. There isn't even proof that autonomous driving will ever be able to fully replace human drivers.