In China the public bins have solar panels so at night you can see the holes.

https://lemmy.zip/post/61234522

If I’m honest if it’s only illumination that doesn’t seem like the most efficient use of resources and energy (to build and eventually dispose of these electronics) in a populated area that’s likely to have adequate street lighting.
There is a possibility this panel feeds into a larger solar collection system, and is a clever use of a distributed solar surface.
which one dispenses the gutter oil? /s

Or that there is an electric compactor in there

We have those in US cities one company that makes them is BigBelly.

Most of the solar powered electronics are for compacting trash, and then alerting the collectors when they are full. I’ve never seen a lit bin, but it’s a nice touch.