surely not.
Even though I don't actually approve of this practice, the passenger in that senario actually paid for the seats even if they didn't sit in some of them. So the airline has not actually lost out.
As you point out the airlines over book flights so, in this case mentioned above, may actually get two fares for the same seat in the end.