The CEO who helped inspire “Iron Man” worries about AI gone rogue, and now a smart bot has finally taken him to task.