If you can sell your bread for $4 a slice in SF, all of a sudden (even with the high rent), you can now afford those very real improvements to the art. There are lines out the door at The Mill - and the very reason this story was written was because they are selling their wares at market ranges. But they're selling wares produced with top quality resources, produced by top quality artisans.
The beauty of The Mill, mentioned - is the baking is done all in the open in front of the customers. If they tried to use substandard ingredients, honey not from local farms, a poorly functioning oven, or otherwise tried to reduce their quality to what is found elsewhere their customers would not return. At the end of the day, the margins are probably similar, but you have a lot more capital to work with in SF.
Also, a $100k oven and "highly-educated" bakers sounds more industrial than artisan... Manhattan has far more and far richer rich people than San Francisco, and I can't think of anyone there who would say that the best bread in the city is at some high-end place that can afford expensive equipment. And New Yorkers love to overpay for things!
After living abroad, SF is a great value for anything other than rent.
+ There's obviously tons of pedestrian/fast/chain/meh food in Japan, but even that stuff is generally a few notches above the same thing in the U.S. Even U.S. branches of Japanese chain restaurants generally seem far worse than the home branches...
[Of course, higher prices also can help pay for higher-quality ingredients, which do play a part.]
Hint: because of astronomical rents in the city, anything you buy for say $X will use lower quality inputs than a comparable thing you buy for $X somewhere else. It's a necessary economic fact. Businesses have to break even, at least, and in the face of high rents they have to skimp elsewhere.
If you want something legit, head north to Portland. The low rents there mean that real artisans can afford to put out quality product while still pricing their wares within market ranges.