It's tedious to see these same sarcastic comments on every self driving car story. Yes. Buses and trains exist.
When you link the cars together, they usually switch to a hub that's a 10-15 minute walk from your destination instead of your destination and the compartments are occasionally shared with unstable and violent people, which while possibly "efficient" in some metrics, are downsides that many people would rather avoid. Personal compartments are a real differentiating advantage.
violent unstable people aren't inherent to cities.. they're inherent to places that refuse to spend any money on social work/housing/and enjoy punishing people