Highway systems create massive economic benefits that are relatively simple to calculate, just in the raw # hours saved which massively increases productivity. This can be well captured by the state through taxes or (less frequently) by private industry through tolls - i.e. the people that direct their construction.
Other mega projects have much less certain benefits, or the benefits are harder to capture by those with the ability to allocate resources because incentives aren't sufficiently aligned.