Those infrastructure "investments" will almost certainly not generate the same return for pensioners as putting the money in an index fund.
Would you get the same net result if you put the money in an index fund and then bought the infrastructure? That's the actual comparison.
Speaking only for myself, I would be okay with a lower return if it also means we as a society have good public transit, roads that aren't more pothole than asphalt, water that doesn't have to be boiled on occasion, reliable power, modern internet, and so on.