What actually increases safety and one of the reason public transport was / felt safer in the past is more personal. If there are train guards on the ride or platform managers at the station, they can actually intervene. No surveillance necessary. But that obviously requires way more public transport funding.