Every McDonald’s in the country has been warned that its owners could face legal action if they fail to take steps to protect staff from sexual abuse.