Artificial Intelligence: Potential Threats and Benefits