People who consume a diet high in fructose could risk damaging their immune systems, a new study suggests.