In Japan vending machines not only serve drinks, serve to sell anything. However it is surprising to find these types of machines even in hospitals.
For instance, this hospital admission set consists of toothbrush, tissue paper, shampoo, body soap and towel. The other set is napkins
The idea is that if you enter urgently to hospital for example you can buy a set that includes all the basic things to be there, thus it is not necessary for any relatives to go home and get it. Of course these machines also sell other products that may be useful in the hospital.