Harvard researchers created programmable knitted fabric that changes shape, acts as electronic switches, and could power the next generation of wearable technology.