Artificial intelligence presents a mixed bag of risks and benefits for children that vary by age, according to researchers.