Such a weird take.
Capitalism only optimizes to increase profit. If waste is profitable, it will be very wasteful, especially if the downsides of this waste can be externalized.
This is obvious in terms of pollution and physical waste, but given the perfect perverse incentives, it will also waste human brainpower, opportunity cost, et cetera and so forth.