Last mile problem exists even in NYC. Also, the geography and weather of SF isn't the same as NYC so you can't just cut-and-paste a solution from one to the other like a block of code from StackOverflow.
Not in the entire city, only Manhattan (and not even all of it really). And it works because Manhattan has 4x the population density of SF, which is yet another problem that SF prevents from being solved.