Not sure if this is satire, but most places lose money on public transit (at least, the ticket fares don't cover operating and capital costs). A few places make money off public transit, such as Hong Kong's MTR, because they own the land around the stations and build shopping malls on the land and profit from the rent.
Of course, there are less immediately tangible financial benefits of having public transit, such as improving a city's economy through moving labour efficiently compared to, say, roads.