Those are not vending machines. Vending machine are where you insert a coin, or a bank note in the case of Qatar, then press the button to chose your goodie.
For example, the one at the Traffic Dept where you can get water or a coke. And the one at Doha Clinic for various brands of chocolate. hmmm, now I need a chocolate :P