Being an American tourist, I always felt guilty about it and would make sure to buy at least a hundred baht of goods if I was breaking a thousand, but I'm pretty sure it was standard to buy a 7-baht bottle of water and calmly collect your 993 baht in change.
Similarly, I was surprised in Amsterdam when a family got on a bus and didn't have a ticket (or whatever) and so just gave the driver a 50 Euro note, and he made change and gave them their tickets.
At some point, with some marginal exceptions (such as dollar coins that have never been that widely used and a $2 bill ditto), the US at some point apparently decided that it was going to keep the same coins and bills in general circulation forever. So we still have essentially valueless pennies and $100 bills, while in circulation, aren't taken by a lot of places in the US. They're even a bit hard to get. I had to go to a couple of bank branches last time I needed to restock my "emergency" travel cash supply.
Though I suspect that there's less of an issue when the conbini you're in has a change machine at the teller. So they just put the bank note in and it dispenses whatever the change amount is, even if many coins also come out.
In America, that vending machine would last a couple of hours at most.
Most convenience stores in the USA won't accept $100 bills AFAIK.
I can see if it was some tiny store and they couldn't make exact change then yes, they'd have an issue.
Also, liquor (and maybe beer) I think may have changed. I haven't seen a beer/liquor machine since 2016 but the one I saw then required an id card to prove you were old enough to buy. Tobacco too apparently (I don't pay attention to cigarette machines)
https://ja.wikipedia.org/wiki/Taspo