Modular robots are easily expandable, know when they're upside down or stuck, and can march forward across all kinds of terrain.