The cab, sensors, and compute are also expensive, not to mention other variable costs like staff for remote assistance, maintenance, and first/last mile
The cab can be a lot cheaper, if you don't have to keep a human comfortable and safe inside. Also keep in mind that an autonomous truck can drive 24 hours a day, and doesn't need to take regular breaks throughout the day nor sleep. (They will need maintenance, but probably not more than a manned truck.)
You are right that the costs are real. Things like first/last mile (or loading and unloading) would probably need a major reshake of the industry, if the truck doesn't bring its own labour, in the form of a driver, with it.
Amortized over the life of the truck they really aren't.