Beverage companies that sell diet sodas aren't making a weight-loss promise by including the word "diet" on their soft drinks, a federal court has ruled.