There are many ways to solve the problem of people choosing the cheapest product.
For example, states require cars to meet minimum quality, safety and emissions standards and also have insurance.
This is in recognition that, given choice, most people will not voluntarily pay for these things.