I was just talking to a high school buddy of mine who lives in Philly. Apparently, he says that crime is terrible, it's really rising, Center City isn't safe anymore, etc., etc.,
Then I went to the Internet and looked up crime statistics over the years. yeah, in the last year or two, there's been an uptick of crime, no doubt due to the weirdness caused by the pandemic. However, the numbers are still well below what they were in the 1970s and 1980s, when cops and police dogs used to ride the Broad Street Subway. We in Baltimore would kill (oops, wrong word) to have a crime rate like Philadelphia's.
Looking a little closer, it seems that the vast majority of these crimes occur in certain neighborhoods, neighborhoods that are nowhere near 30th St. Station. This is pretty much the same as what you might find at Baltimore. I return from many of my trips back to Baltimore at or after 9 PM (That's when the southbound Vermonter gets in), the 2 PM Acela from Boston gets in around 8. I've been on the Cardinal which is running late, and it commonly gets into Baltimore at 9. But it's not a problem. The station is staffed. There are people at the information desk. There are Amtrak PD officers patrolling about. There's a cab stand out front, or you can fire up the Uber or Lyft app, and your ride will be there within 5 minutes (usually). I would imagine the same is true for Philadelphia 30th St. There are regional trains arriving from the north through midnight, so the station will have people out and about at 9 PM and for quite a while later.
I wouldn't worry about 30th St. at 9PM, and as long as your cab/Uber is taking you right to your hotel, I wouldn't worry about your safety, wither.