自動 (じどう, jidō) "automatic" + 販売 (はんばい, hanbai) "sale" + 機 (き, ki) "machine".
自動販売機 (hiragana じどうはんばいき, romaji jidōhanbaiki)