A supermarket can coffee will cost maybe 60-100円 for what you pay 120-200円 in a vending machine.
I was tracking the prices of vending machines pretty closely in Japan, and if you didn't jump at the first one you saw and waited until a more out of the way one, you could typically find almost anything in the 100-120 yen range. My favorites were the "100 yen special" machines where most or all items were 100 yen. The prices were in large red lettering to emphasize the deal. Prices could go up to 160 yen or higher in the vending machines in tourist areas, especially the ones inside ticketed attractions.
100-120 yen was around the price you'd pay for those same drinks in a convenience or grocery store, with the only exception being bottled water. You can find bottled water much more cheaply in the grocery stores than anywhere else, well under half the price by volume. This is a pretty universal rule of travel that I've found holds true everywhere.
Regardless, if you’re in a place where vending machine prices are lower than usual, it only means that the store prices are lower still. There’s no magic here; the vending machine operators are making a healthy profit.
It did bother me that I could never tell what the actual size of the drink was going to be. Is it in kanji, or is it just not listed at all? I definitely had a situation where I was expecting a full normal sized bottle of green tea but got a smaller one.
edit: by soft-serve, I mean any of the thinner ice cream/frozen yogurt alternatives as opposed to the (usually very thick) real ice cream.
Yes, I imagine these machines would have to be pretty robust to maintain those temperatures in Japan's hot climate.
Absolutely agree: I don't remember the last time I bought something from a public vending machine (or even seeing someone else doing so) here in Spain.
Prices are anywhere between 2/3 times the price you would buy at a supermarket, an Airport shop kind of markup: whatever you get tastes bad as you feel swindled.
When I was in Japan it was rare if I didn't get something from a machine any given day.