Take into account that at one time these people could pay their rent and now, because of gentrification, they can't. A person too poor to afford a home and has been renting the same place for decades is getting evicted because the wealthy moved in next door.
I don't think what you've written is exactly true. At least some of the rental property in San Francisco is rent controlled (possibly a lot of it if you believe this site: http://www.sftu.org/rentcontrol.html). If a person/family lives in a rent controlled unit, rent increases aren't necessarily tied to the rental market, but rather are limited to a percentage of the CPI (1.9% increase for the current year - http://www.sfrb.org/index.aspx?page=1501). Wealthy neighbors don't have much to do with it in these cases.