Revenue from fines has surged sharply following the widespread rollout of automated cameras, which use AI to scan passing vehicles.