It’s not like the investment will have been in vain even in the triathlon is cancelled. Paris would have had to make them to comply with the upcoming European regulation on urban wastewater anyway (ok they would have had quite some time to do so but still) [1]. Plus, if we ranked all the investments made for the Olympic Games in history by how useful they were, I’m fairly sure a waste water holding basin would do pretty well.
[1] https://environment.ec.europa.eu/topics/water/urban-wastewat...