Advancements in AI are ushering in new opportunities, and risks.