The very machine you mention can be found... In the past! Soft drinks, like milk and juice bottles, used to be reused and refilled. I guess it was cheaper to fire all deliverymen and not run refilling machines when bottles could be made out of thin, throwaway plastic instead.
Most soft drink bottles still say "non-refillable" on them, even though no refilling services exist, even if you wanted to.