If you tuned a semi engine for peak power the way automotive engines are they wouldn't last 400k either.
You can get automotive engines with similar power to weight or power to displacement numbers as semi truck engines. They're just normal automotive engines sold for industrial use.