Resorting to fines is not a solution, its battling a symptom that won't change the fundamental trend.
Since the change is economically driven... the government is quite in a position of changing the economics of the situation.
Imagine a required 'permitting' and 'taxing' process for certain commercial uses of fully automated cars and other drones that changes the Cost/Benefit and Risk/Reward ratios of putting robots in the job instead of humans.
For example: a requirement to calculate "wages" for every robot as if it were a human employee,
including witholding taxes, remit the entire amount to the government as a tax for "Commercial operation of a robot or automaton working on a task traditionally conducted by humans", and the "wage" must be
no less than 120% of the minimum wage TIMES the work volume done by the robot per day DIVIDED by the work volume a normal human would be expected to do per day, for each robot or automaton.
Once the robots cost as much as or more than a human worker, then the perverse incentive to get rid of humans and replace them with robots goes away.