Who digs the tunnels?

There are practical reasons to dig a tunnel, like to reach a deposit of coal, or diamonds, or some other vein of precious material; to move people, maybe on subway trains, more efficiently than is possible above ground; to transport water or sewage long distances