Economics as mechanics and the demise of biological diversity