You can’t really compare because they’re completely different bikes, but having said that…
Road bikes generally have longer stems than MTB, which would make up the difference in TT length: My MTB has an ETT of 615mm, but a 35mm stem, while my road bike is 550mm with a 110mm stem, so works out slightly longer.
Edit: Beaten!