A shape-shifting plastic with a flexible future