If it was providing a service of as much value as was being spent on it, then why shouldn't it be profitable?
Municipal services are meant to serve as many citizens as possible, not to extract as much profit as possible, because it’s an overall benefit to everyone.
Just looking at money is incredibly short sighted and naïve
The entire point of a public service is that benefits accrue to people other than the direct consumers of the service.