Drug maker Eli Lilly says data from a late-stage trial showed a reduction in weight of almost 8% in people with Type 2 diabetes.