Humanoid robot warns of AI dangers