Microsoft president pens book on impact of AI, rising cyberattacks and more