On the other hand, sometimes a customer could not care less about CPU usage, memory, and in some cases paying twice as much for cloud services can still be a negligible amount for the business, yet the software developers obsess over efficient code wasting weeks on improving a metric nobody cares about.
I don't want to disregard your complaints, they are all valid, but one has to weigh the pros and cons, and in some cases, efficient algorithms are not the most important thing for the business.