Networks of expensive, self-driving cars need a wide base of paying riders, which could make Uber essential to Tesla’s success.