AI and Blockchain: Opportunities and Risks