They are most likely covered under some insurance the dealer carries and will be repaired. Unfortunately there won't be a scratch and dent deal on all those vehicles
Where possible they will use a PDR process to repair. Some will have to see the body shop. None of the repairs will be noted on the title, carfax, etc. Likely the repair will not be disclosed during the purchase transaction.