China has linked violence in its far-western Muslim region of Xinjiang to ISIS and says Chinese nationals have fought for the extremist group.