China is battling to contain the rapid spread of African swine fever among what is the world's largest pig herd.