There are gold-plated ATMs that distribute gold bars in a number of countries (the first ATM was located in Abu Dhabi). The equipment is secured "like an armored car" and put through explosive tests to deter theft.