Technically not true. There are accidents caused by those who slow unexpectedly because they only just realised there's a speed-trap.
It adds an element of unpredictability to the road.
This almost completely offsets any positive safety gain.
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3861844/
Which makes me think it's a cash-grab.