Is artificial intelligence dangerous for humanity?

SpaceX founder and Twitter CEO Elon Musk, during his online participation at the World Government Summit in Dubai, has expressed that "Artificial Intelligence has positives and negatives. The prospects for its application are great, but it also poses great risks."

"For example, take nuclear power. We have nuclear power and nuclear bombs. So I think we should be concerned about that to some extent," the Twitter chief explained.

Musk also said that we need to find ways to regulate artificial intelligence.

P.S. The term artificial intelligence (AI) refers to intelligent operations performed by machines designed to enhance the capabilities of the human brain through a combination of algorithms.