Assuming there's no fraud, there are four parties who gain from this transaction: (1) the person getting rid of the car without doing any work (2) the person buying the car (3) the person or company whose job it is to do the work (4) the charity.
The proportion gained by the charity might be relatively low but everyone gained something, so it's unclear that it's inefficient.