At my local CVS their ice machine is outside by the door. No GFCI on the outlet I guess (didn't test it) but what caught my eye was this 'repair' of a piece of broken PVC conduit. Doubt it is 'water tight.'
I think EMT or rigid would have been a better choice. Here you can see the carts and cars run straight into the PVC conduit. You can see the broken splice right above where the cart is leaning on the conduit. PVC is ok, but not in an application like this.
This illustrates one of the 'unenforceable' parts of the NEC.
110.3(A)(1) states that in judging an installation, 'suitavility' shall be considered. Too often, this is limited to looking for a UL lable. That's a mistake, in part because (2) goes on to address the 'adequacy' of the protection. (8), at the end of 110.3, even has a 'catch-all' provision allowing for the consideration of 'other factors.'
110.12(B) addresses the integrety of equipment, saying that there shall be no damaged parts that may affect safe operation.
The second part of the puzzle was that inspections happen only in response to a permit at the time of installation. There seems to be no provision for anyone to act afterwards - even when the failings are not only obvious, they are in a public place (and thus there is no expectation of privacy).
Were I to be asked to repair such an installation, I would consider it a requirement to take the impact of shopping carts into account with my repair. If that meant adding a guard, additional supports, or even changing the wiring method, I would do so. Simply replacing one failed system with another inadequate one does not, IMO, meet your code obligations.
Weatherproof while in use covers (bubble covers) have mixed survival rates. I would have an issue with the one in the pic, as to it's orientation,
That said, once an inspection is completed and approved, I have no 'legal' jurisdiction. The issue falls under 'property maintenance' in a lot of localities. However, situations similar to the pic result in a phone call to the uniformed fire dept inspector, as he/she can write it up as a safety item, and also write $$$ violations if it is ignored.