Researchers say it is the first time a natural biological process has been used to transform plastic waste into a drug for a neurological condition.