It's important to keep in mind that in a "racist society" machine learning will also tend to be racist (but much more so). After all, the "AI" is learning from human data, so it's certainly not as objective as you would think a "machine" to be.
https://www.propublica.org/article/machine-bias-risk-assessm...
https://enterprisersproject.com/article/2016/9/beware-biases...
http://www.nytimes.com/2016/06/23/us/backlash-in-wisconsin-a...