"Programmable matter" is such a far-out concept that it's difficult to imagine it even existing outside the movies. But, thanks to some creative work done by scientists funded by DARPA (who else?), it might actually become a reality, creating materials that can be programmed to alter themselves at the molecular level into various shapes and then disassemble to form entirely new ones.

Imagine universal tools that can morph to perform the specific job needed. Imagine vehicles and clothes that that can automatically change shape--perhaps even at the molecular level--according to terrain or climate.
DARPA's "Programmable Matter" Project Creating Shape-Shifting Materials | Popular Science