This happens.
> rail company build a high speed train track
This doesn't.
There are actually companies that want to build oil pipelines. How many privately funded companies are there that want to (and have the means to) build a high-speed rail line?
Likewise, if the oil were extracted by the state, rather then a private firm, it would also not have any problems with piping it over private property.
I'm not sure what your second point is getting at. Rail lines face pretty huge eminent domain burdens along with everything else.
My point was mostly that the hurdles of building rail and pipelines are both quite high. The economic benefit of oil pipelines are enough to make them worth the trouble to a private firm. Rail, not so much.
On the other hand, none of the regulators would even consider doing that to lay a train track.
My point is that nobody tries to build a rail line, because they know it's a hopeless affair - they will never get approval.
Serious hyperloop contenders may well emerge soon, too.
Oil is prioritized over rail because it immediately creates jobs, tax dollars, and the government doesn't have to pay up front for it. If you're a politician, which one would you want to support?