A naturally occurring food preservative that grows on dairy products may be used to treat cancer and deadly, antibiotic-resistant bacteria, a new study has claimed.