Of course in real life it's not that simple a situation but it's easy to see that everyone behaving like this ends up with the consumer essentially losing money.
Most customer focused companies could save a pretty sum of money by not advertising. Of cause it may hurt overall sales to not advertise.
The only one losing money is Jeff Bezos.
But since Amazon gets nothing from the "passive" affiliate links (ones that don't increase volume), DDG might be big enough to make them have to compensate. Would be interesting to see the numbers for this...
An argument could also be made, that this is beneficial to me, as if Amazon finds a lot of traffic from DDG, they might be more inclined to buy ad space with them, giving better funding to a service I like.