Worldwide demand for herbal remedies is threatening natural habitats and endangering up to a fifth of wild medicinal plant species which are being harvested to extinction, a leading science magazine said.