Algorithms can be racist, sexist, and otherwise bigoted. When we feed them data produced by systems that are biased against groups of people, the algorithm will learn to behave that way. We're used to garbage in garbage out, now we have to worry about racism in racism out.
See:
Facial Recognition Is Accurate, if You’re a White Guy
Rise of the Racist Robots – how AI is Learning all our Worst Impulses