The U.S. Food and Drug Administration is investigating whether the diabetes drug metformin had unsafe levels of a cancer-causing chemical and will recommend recalls as appropriate, the agency said on Thursday.