I’m sure this sort of thing happens on the Sydney transit system, too.
But, at least, there’s less access to guns and other assault weapons, so the violence is limited to fists, knives, and such.
There are many tourists in New York. The hotels are expensive, but everything else is pretty reasonable. As long as tourists stay out of dodgy areas (yes, there are fewer dodgy areas than in the past), they will be fine.