Is AI a risk to humanity?

Artificial Intelligence (AI) is just a tool. Like all tools made by humans throughout the history it is neither good nor bad. It is neither safe nor risky. The humans who control and use it will determine those. Looking at history, all past human technological developments lead to improved human quality of life. AI is likely going to significantly improve human quality of life.