Though i agree with the other great answers here, i'd like to propose a totally new idea; why not buy a single family home? at your budget, it would be difficult to find something in 94123, but SF is small and there are many great neighborhoods in the City and you probably visit more than one or two in your daily life.
Generally speaking, a house preserves value and appreciates better than a condo. Also, any building built before 1978 falls under rent control, in addition to renter's rights (as you are already familiar with), which makes being a landlord more difficult than one would normally think.
But no matter what you buy, i hope you enjoy all the money you save through tax benefits and the incredibly low mortgage rates!