States have their own eminent domain powers which vary, however in general they're easy to sandbag in the courts for years, preventing the state from doing anything while the landowners argue over the money.
[1] https://en.wikipedia.org/wiki/Federal_Declaration_of_Taking_...
Importantly those highways don't need to be free to use. The government can take land and build a for-profit railway, in conjunction with a private corporation if they want, as long as it was to benefit the public.
A major problem I have with this is appraisal prices often don't jive with reality. For example in San Fransisco houses almost always sell above asking, if the government were to step in and give the land away to a private person at asking they would be in effect getting a discount. Similarly my own home has had a lot of work put into it that doesn't effect it's appraisal price meaningfully, if forced to sell at that price I'd lose money.
https://www.bloomberg.com/news/articles/2021-07-02/supreme-c...
The reason we don't have nice things like China does is just political will, not any legal barriers.