This article is highlights some of the dangers of AI, not to say the benefits of a general AI could have on society there are also plenty of risks. Some of the risks include post apocalyptic scenarios were the AI becomes the next 'Skynet' and takes over the world with devestating concequences for humanity.
These scenarios are concerning, though are probably left for science fiction books. The development of AI will change the face of the world, however some of the smartest minds are working on this technology and will hopefully prevent any of the pitfalls presented in the article.
To reiterate that the development of anything as powerful as an AI will always have its risks, humanity should be looking at creating legislation to prevent the occurance of any apocalyptic scenarios. There is a big however, humanity is probably more likely to destroy itself due to war than be destroyed by a rouge AI.
RE: The impact of artificial intelligence on society