Same as electricity and telephone in earlier times
Until there were federal government programs that spent tons of taxpayer money making those services nearly universal local governments often went into business providing such services. Most of those government utilities eventually failed (usually when they needed upgrades) and were sold to private industry but residents benefited from such luxuries before those of other places.