There’s plenty of economic and social benefits to justify providing this as a public service.
https://toiletmap.gov.au/