In Japan, rail companies also own the land around the station. There is often a mall or office right on top of the station. So they capture a more of the value of having public transport.
In western countries land lords benefit a lot from nearby public transport for free and maybe only contribute in taxes.