Muni, San Francisco’s public transit system, was compromised by hackers who demanded ransom.