Artificial intelligence poses risks of misuse by hackers: study