TBMs are typically built specifically for a job and its ground conditions. Depending on the type of ground, the machine can be a different type of machine that uses different tooling. This will ultimately drive TBM cost. It is possible to reuse machines but this is, again, dependent on geology.
Anyways, the cost of a TBM is generally not the most expensive part of a tunneling operation.