US Army spent millions developing Star Wars-like walking robots