How to avoid AI being a threat