Facebook ads work for physical businesses because they’re competitive on price with their other options.
Bakery A feels compelled to buy ads from Facebook because Bakery B does. Bakery B has to because Bakery C does. Bakery C has to because Bakery A does. Facebook isn't providing value here. Facebook is a parasite that specializes in creating prisoner dilemmas used to bleed small businesses dry. Facebook is lower than mosquitoes, who at least provide nourishment to birds.
And your contrived bakery example is unlikely. Ads are about letting you know a business exist, or convince you to give them another chance. Once everyone in town knows of all the bakeries, people will just pick favorites. If you’re the most famous bakery in town, you don’t need advertising. If you just started your cookie business, you do. Choose whatever advertising that works for you: signs, flyers, word of mouth, vitality stunts or just online ads. You will find that online ads are astoundingly cheap.
Again, if you serve the best croissants in town, customers will come back. (Reality is more sophisticated than that due general demand generation ideas such as just reminding you of croissants vs inferior pastries)
And this scenario where bakeries grind their margins in an endless ad fight is a bit far fetched, all the bakeries need to do is get your attention enough so that you know/remember they’re there. It’s a few cents with online advertising, FB makes billions because there’s a lot of users.
You’re also forgetting that such ads are about telling you about products you didn’t even consider you need. So yeah, you’re not going to die out of hunger due to lack of ads, but you may not learn of more luxurious items that you may want.
(Disclaimer, I work at FB, not on ads, and don’t know anything an outsider wouldn’t know)