I don't see it becoming a threat to whole humanity (at least not anytime soon), but as it's still programmed by a man himself, then without doubts some errors will happen and we cannot see what the outcome of that will be. Just fingers crossed that it will do more good than harm.