Artificial intelligence companions are designed to simulate close connections with users and can increasingly become confidants for some teenagers. Experts say they can pose serious risks.