The U.S. military may not be known for its haute cuisine, but it's developing a new robot that can learn how to cook from watching YouTube videos.