Opportunities and Risks of Artificial Intelligence