Artificial intelligence can improve quality of life but potential risks remain