> the price of running such old cpus for say the last (say, 4?) years would have been higher than buying new+new runtime costs
I don't think this is true, because the old chips don't use more power outright[1][2][3]. In fact in many cases new chips use more power due to the higher core density. The new chips are way more efficient because they do more work per watt, but like I said in my previous comment you aren't paying for a unit of work. The billing model for the cloud providers is that of a rental: you pay per minute for the instance.
There's complexity here like being able to pack more "instances" (VM's) onto a physical host with the higher core count machines, but simply saying the new hardware is cheaper to run I don't think is clear cut.
[1]: https://cloud.google.com/compute/docs/cpu-platforms#intel_pr...
[2]: https://www.intel.com/content/www/us/en/products/sku/93792/i...
[3]: https://www.intel.com/content/www/us/en/products/sku/231746/...