Fluctuations-induced coexistence in public goods dynamics