The development was an embarrassing twist for Uber, which had set up its San Francisco driverless-car rollout as a big event, especially as it competes with other tech rivals to bring autonomous vehicles to consumers.