For example a train station doesn't just serve the current people who live there, but the new town and all the new buildings that will be built around it as well. Infrastructure improves land value often by many orders of magnitude more than it costs to build.