Machines that invent their own problems