Mining sector investment under threat