In America, we are willing to do anything to avoid expanding or upgrading our rail infrastructure.
In any case, semis occupy a largely separate mode of transportation that aren't cost competitive with freight rail where it's viable. Autonomous semis are competing mainly with the limitations of human drivers, not freight rail.
https://www.marketurbanist.com/blog/why-americas-freight-tra...
Which are regulatory more than technical at this point and could change overnight.
Obviously drivers need to sleep but the tech to make doubles and perhaps even triples workable exists but isn't worth deploying because our regulations are stuck in 1980.