"prison lighting" is the lowest maintenance, lowest cost option. Too-narrow everything saves on floor space, which has real costs in air-con and lighting. Clean and tidy is a cost with a negligible benefit. Happy employees require money and R&R, not something you have a lot of at their margins.
The designers did not intend this, but the data suggests it is good for business.
I think costco is the "gated community" version of these stores, requiring a membership to enter. A price-barrier to entry, or a commitment.
Basically everywhere except Wal Mart.
[EDIT] Hell I even go to Dollar General or Big Lots sometimes (used to go a lot when I had less money, LOL) and even those don't make me feel like my soul is being drained, like Wal Mart does. I actually kinda like them.
I'd shop there often, because the prices are great, but I hate being in Wal Mart so much that I rarely go. (I've tried the pick-up order service, twice—nearly an hour to get my damn "ready" order, both times, never again)