The history of automated selling reaches much further into the past than most people expect.
Hero of Alexandria described a mechanism designed to dispense holy water after receiving a coin.
The system illustrated how https://www.ekdarun.com/forum/topic/237500/jiliwin