The dealer makes more than that from the new car. In addition to the invoice price (which is significantly higher than the dealer price) they also make money from add-ons, extended warranties, and the loan terms.
This doesn't stop them from making top dollar on everything else that they can though.