Frankly, neither city has much to brag about, pizza-wise. The best you'll get is some "passably decent" fare, though I think Pizzeria Mozza does a pretty good job for a higher-end pizza and I can't think of a Bay Area equivalent.
I can't really defend LA's fine dining record if only because I haven't tried much of it. My meals at some supposed stand-bys like Hatfield's and Jar, for example, were perfectly fine, just not that memorable.
The LA gastropub/small plate trend has been really interesting; not sure if there's a Bay Area equivalent to places like Lazy Ox or Waterloo and City or Animal. Maybe it's because the defining food aesthetic in the Bay is still under the sway of Alice Waters or Thomas Keller whereas in LA, it's really a lot of younger male chefs in particular who seem to be pushing the city's culinary envelope.
Regardless though, for the cuisine I care the most about - all kinds of Asian + Mexican street food - LA was a revelation and a half.
Things that SF is far superior in? Bakeries and coffee (esp. bakeries).