Maybe it got it right...
Now hear me out, this isn't a racism thing (no, really).
Assuming that this "machine learning" software gets its info from the interwebs, then it could have come to the conclusion that "gorilla" ≈ "attractive".
The confusion arising from this: http://goo.gl/IcM7UI
The more it sees the term "gorilla" equating to "attractive" then it associates the term but without the context to differentiate. And importantly - it has nothing to do with skin colour, just word meaning.
Then the story becomes something else entirely. We should perhaps be more worried that a piece of software has gained enough sentience to develop preferences regarding how attractive it finds people.