Road, policing, signage, emergency services, ... Not even counting the loss of space and air pollution you are much cheaper in the long term with rail.
And the Teslas need expensive highways to run on. You should be comparing highway vs rail, and Tesla vs train.
A railway has a much higher and faster capacity, even if it does indeed cost that much ( it doesn't, it varies highly based on terrain, conditions, regulatory framework, etc.).