UberX is may be cheaper than UberTaxi some of the time, because the latter has a mandatory 20% "tip" plus a convenience fee, but it's not cheaper than a cab.
For one, the minimum fare is more than double that of a cab in SF, but more importantly it "surges" 2x at all of the busier times.
They don't have to buy the medallions for one thing...