China has imposed countermeasures against two Canadian institutions and 20 individuals over issues related to Uyghurs and Tibet.