In the cyberpunk novels, the AIs have "self-restraint" routines to keep them from getting out of hand. But the hackers in the same stories crack them so that also has to be addressed as well. Alexa's not at the same level as SHODAN of course, but best be prepared anyway.