Ya, this is also a double edge of transit: if you have a nice convenient public transit system, so does everyone else, including criminals. This is why sometimes neighborhoods fight to keep bus routes or light rail stations out, basically the original NIMBY.
Even if this might be true in isolation it doesn’t generalise
For example the poor public transit available to developed places such as West Sydney, or Bijlmer in Amsterdam have lead to increases in crime rates
Poor physical mobility for the lower classes leads to decreased social mobility which results in increased crime rates for the larger metropolitan areas as a whole