Although robots are getting better at adapting to the real world, they still tend to tackle challenges with a fixed set of alternatives that can quickly become impractical as objects (and more advanced robots) complicate the situation.
ENGADGET: MIT algorithms teach robot arms to think outside of the box (video)