cost of machines used in mining