It's called "law enforcement". If you try to pull off a bunch of smash&grabs in Bandra or Colaba the cops will beat you with lathis. Law enforcement is far from uniform - many neighborhoods (e.g. Baiganwadi) don't have much of it. But no one parks their car in Baiganwadi.
What seems to make SF pretty unique is that even in the wealthy areas it lacks effective law enforcement.
Also, poverty in Mumbai isn't quite the same as poverty in the rest of India. Significant portions of Mumbai approach US-"poor" levels of income (about $15-20k/year, PPP adjusted) which is considered quite wealthy over here.
What seems to make SF pretty unique is that even in the wealthy areas it lacks effective law enforcement.
Also, poverty in Mumbai isn't quite the same as poverty in the rest of India. Significant portions of Mumbai approach US-"poor" levels of income (about $15-20k/year, PPP adjusted) which is considered quite wealthy over here.