I actually don't think even an unconscious goal driving the adoption of these things is revenue generation.
I think the real goal here is to make it so anybody can be arrested at any time, irrespective of whether or not they're suspected of any crime worth prosecuting. I mean, sure it lowers the operating costs on enforcing minor traffic laws. They may not phrase it in as direct of terms, but given current events*, the real benefit is the ultra-low-cost dragnet.
Its all justified in terms of catching real bad people who are otherwise acting inconspicuously. But we are, all of us, acting inconspicuously all the time. That behavior is definitionally unsuspicious and therefore does not justify an actual all-the-time surveillance operation. But if you lower the cost of the surveillance operation, suddenly "unsuspicious" gets used as "suspicious".
* e.g. the growing reports of using facial recognition to enforce immigration law at airports, the current administration's overall posture towards groups expressing any kind of criticism towards them, etc