The Benefits and Risks of Artificial Intelligence