The California Department of Motor Vehicles has collected more than $8 million from about 5,000 car sales since 2016.