From social interaction to ethical AI: a developmental roadmap