There are many nonprofit electric co-ops providing high quality service in America.
Public transit in America most often the answer would be no. But public transit of say the rest of the world with multi-billions of dollars invested over the years into the public transit infrastructure leading to public owned and operated highly functional transit systems.
A for profit company will invest when it makes sense from a bottom line perspective. A public non-profit without corruption will invest when it makes sense from a public good perspective.