"Still, some AI researchers are exploring ways of ensuring that the technology does not behave in unintended ways."
There are two threats that are both problematic.
First is exploiting an AI's weakness, just like an SQL injection on the web currently. Then a powerful AI can behave in unpredictable ways because we trust the trained models.
https://www.youtube.com/watch?v=SA4YEAWVpbk
The second is far greater. If we find a safeguard that will protect AGI-s from behaving in unwanted ways then there always will be someone out there who will just turn it off for profit.