You should be asking what are the incentives.
> like the more straightforward tech solution is to improve traffic cameras/monitors such that tickets are given out more appropriately
This is not straightforward from a bureaucratic sense. There is no strong incentive (that I can identify - humanitarian ideals do not count) to improve the functionality here to make traffic tickets and their resolutions more sensible.
However, an AI that can resolve traffic tickets and citations might incentive a city to start gathering data more effectively - to win cases and get revenue - and that is a great incentive to improve the general tech.
> Why do we need lawyer of any type to handle something as banal as speeding tickets?
I also want to mention that this is a great point. The fact that my job provides legal insurance, the end result being I can get out of my traffic tickets by hiring a lawyer for free to show up and ask for a dismissal, is pretty dumb.