It was wrong to imply the energy drink can boost focus and help workers finish by 4pm, a ruling says.