Some computer systems at the city’s public transportation service are taken over in a ransomware attack.