Imagine a railway line/station is built 10 mins walk from me.
I'm not interested in the railway line. So I rent out my home and use the proceeds to buy or rent a larger one in a different location without said railway line.
Trying to capture that value I think would result in some sort of weird rent control / rent tax central planning nightmare that would have pretty bad side effects. It'd probably end up looking a bit like California's Prop 13(?) where people just stay put.