The ethics of artificial intelligence is the branch of the ethics of technology specific to artificially intelligent systems.
It is sometimes divided into a concern with the moral behavior of humans as they design, make, use and treat artificially intelligent systems, and a concern with the behavior of machines, in machine ethics. It also includes the issue of a possible singularity due to super-intelligent AI.
Artificial Intelligence is a necessary evil. AI-based beings (friendly AIs) can be a gigantic leap for humans in technological development.
It comes with a set of miraculous advantages. However, if fallen into the wrong hands, the destruction can be unimaginable and unstoppable. Yes, the thought of increasingly present AI systems that surpass human intelligence is scary. And the ethical issues that come with AI adoption are complex.
The key will be to keep these issues in mind in order to analyze the broader societal issues at play. Whether AI is good or bad can be examined from many different angles with no one theory or framework being the best. Thus ethics in the age of artificial intelligence is supremely important.