I think the issue is loitering. Target and Costco can remove people from premises who loiter, but a public transportation system might not be able to do that *assuming no loitering statutes for the stations are in place.
I would personally be surprised if violent attacks are differentiated in rate between the two.