Historians criticize IBM for helping the Nazis to identify and exterminate political and ethnic minorities, not for improving their ability to wage war. In that respect, Western companies like Yahoo and Cisco have already been caught in similar arrangements with the Chinese Communist Party [1][2]. Hopefully Google's AI center will not continue this disturbing trend.
As to the scale of the CCP's "cleansing" to date, it's hard to know - they don't release any numbers, and foreign journalists are aggressively bullied, arrested, and deported if they try to find out [3][4].
We do know that China regularly humiliates and cracks down on members of its Muslim minorities [5], and that the Communist Party regularly intervenes in the appointment of Buddhist and Catholic religious leaders [6][7].
[0] https://en.wikipedia.org/wiki/IBM_and_the_Holocaust [1] http://www.nytimes.com/2007/11/07/business/worldbusiness/07i... [2] http://cyberlaw.stanford.edu/blog/2015/03/china%E2%80%99s-go... [3] https://www.theguardian.com/world/2017/mar/03/bbc-crew-attac... [4] https://blogs.wsj.com/chinarealtime/2015/05/28/foreign-journ... [5] https://www.economist.com/news/china/21721680-bans-abnormal-... [6] http://www.bbc.com/news/world-asia-pacific-14533879 [7] https://en.wikipedia.org/wiki/Catholic_Church_in_China#Diplo...