PERTH, Australia—Global mining companies have scoured deserts, mountains and jungles for resources to rev up their profits. More recently, the search has taken them to a different environment: the factory floor.

Car-production lines and machinery that sorts rice could help companies such as Rio Tinto PLC and BHP Billiton Ltd. wring greater profits from mining. Whereas miners spent a decade spending billions on acquisitions and new...