Most robots are programmed to carry out a specific function, but researchers in Arizona are now developing a new generation of machines that can learn new skills.