South Australia is training dogs to detect fruit flies, in an effort to save an industry worth billions.