Some cities still do operate this way. Funnily enough, the parts that can’t be leveraged for profit as easily (like the actual landfill/disposal sites) tend to be municipally managed.
There is no evidence that the for-profit is more efficient than municipal, however.