Goal-based agents have long been part of smart electronics — but what happens when they set their own goals? Here's what the Roomba tells us about AI agents.