A transport ship[1] can carry 9500 TEU with 53,000hp. That’s 190,000 feet of containers, or 36 miles.
A train can be 1.5 miles with 4000hp per engine. (According to Google “facts”.) That’s 24 trains to move the same containers, with at least 96,000hp between them. (And that’s ignoring a 1.5mi train will have more than a single engine.)
That trains use more horsepower to move the same freight suggests that they’re less efficient.