Instant Coffee: Explained

Philosophy teacher: So, I've created a robot that knows how to go into my office and make me a coffee. But what if something goes wrong? What if the coffee's in a different place, or there's no milk? What if there's bees in the sugar?