A study has found that Coca Cola and Pepsi have spent millions of dollars in donations to US public health and medical organisations that are fighting the nation's obesity epidemic.