I could imagine a machine like this would cost something on the order of $100k, require ongoing maintenance and wouldn't really solve any problems/bottlenecks at your typical local pharmacy.
It's not like you could replace the pharmacist with a machine.
Coin machines are really solid at accepting money. I feel like it’s a solved problem.
Edit: I’m dumb, the order of operations is backwards. You’re right, it’ll never be solved.