Safety requires it
These cameras record public places, and public places are allowed to be recorded by anyone.
Recording private spaces of other people without their permission and warrant is illegal in USA, but these cameras can be managed to not do that.
However, preventing or solving crime requires surveillance, and these cameras are easiest straightforward path to it.