There was a video from Twitter shared on HN a while back of Windows 95 or 98 (I don't remember which) running on a modern computer, and all programs and menus loaded
instantly when clicked, not like now where there's often a small delay. It would be great if better hardeware meant the same thing but snappier, rather than the same thing but more inefficient.
However, that speed came at the cost of laborious optimization for the low-end computers of the time and millions of dollars spent by Microsoft debugging defective C and assembly code within Windows.
The only way to force software to be more efficient would be some sort of cap on how inefficient software were allowed to be, which doesn't seem possible. At most, you can have a carbon tax, or increase taxes on electricity use, indirectly incentivizing the use of energy-efficient software.