I think Moore's law was just about compute capability, not energy consumption. I could be wrong, though. That being said, processors have become more efficient. I think the other poster was saying that our code complexity often expands to fill the voids. Obvious examples are neutral nets, render farms, crypto mining. But then there is the cost of React vs vanilla, electron vs native. Efficient processors don't necessarily mean less energy consumption, though I think in general that had still proven to be true.
I deal with low power microcontrollers. They keep using less and less power while running faster.
Old Z80 based board I first worked on drew 1A at 5V, so 5W. Put your hand on it, it's nice a warm. Current board I'm dicking with draws 8ma at 3V or 0.024W. 200 times less power. But it's 50 to 100 times faster.