Japan really doesn't have trash cans like that. Not in their airports, not in their train stations, not in their public buildings, definitely not outside at the bus stops or anything like it is here.
But vending machines are EVERYWHERE. Which means if you do get something out of one of them...