Artificial intelligence (AI) is doing things we once imagined only humans could do. It can do poetry, detect cancerous cells with high accuracy, solve equations that used to take teams of scientists weeks or months, design new materials, write comple…