In one whirlwind week in late December, Uber went from proudly rolling out robot taxis on the streets of San Francisco to yanking its self-driving pilot after California regulators revoked the cars’ registrations because Uber had failed to comply with state law requiring permits for testing autonomous vehicles. A bill being introduced Thursday seeks...