People went wild for its shared rides. Then came trouble. Now the startup is hellbent to prove it can be cool and safe—and exactly what cities need.