Insurance companies can monitor a customers driving. As AI becomes more popular and advanced, this will be more common. If the customers driving is good and they take safe routes, then they will end up with a discount. It would be hard for bad drivers to get insurance because of the price, which would result in them having to improve their driving or find another means of transportation. This would result in the roads being more safe.
https://www.joinroot.com/blog/10-ways-artificial-intelligence-will-make-car-insurance-awesome/