The Programmable Matter program at DARPA seems to be coming right along. The intent of the program is to have material that can form itself into a variety of three-dimensional objects on command. DARPA calls this idea InfoChemistry - building information directly into materials.
One approach described as "self-folding origami" created by machines that use specialized sheets of material with built-in actuators and data. These machines use cutting-edge mathematical theorems to fold themselves into virtually any three-dimensional object.
Today's generation of sf fans probably think of robots like the T-1000 series shape-shifting mimetic alloy "robots". Take a look at a rather striking video from the current Sarah Connor Chronicals.
(T-1000 series shape-shifting mimetic alloy robot)
I guess I'm hoping that DARPA's engineers will show a little restraint in their design functionality for "InfoChemistry".
There are several older examples from sf for this concept, and I can't find them. I believe one involves what amounts to a multi-tool that just looks like a bar of metal; you slap it in different ways and it reforms its shape into a variety of simple tools. Readers? It's driving me crazy.
Update: 21-Oct-2016: Found it! The first time I read about the idea of a shape memory alloy was in Samuel R. Delany's 1966 novel Babel-17; see the entry for tensile memory polarized matter. End update.
However, what is probably the root of the idea is the "shape memory effect" seen in particular metals in the late 1930's.
Nano-Chainmail 2D Mechanically Interlocked Polymer
'Nemourlon armor of reasonable weight resists penetration by most fragments and any bullet that is not both reasonably heavy and fairly high-velocity.' - Jerry Pournelle, 1976.
Technovelgy (that's tech-novel-gee!)
is devoted to the creative science inventions and ideas of sf authors. Look for
the Invention Category that interests
you, the Glossary, the Invention
Timeline, or see what's New.
Reflect Orbital Sunlight On Demand
'I don't have to tell you about the seven two-mile-diameter orbital mirrors that circulate around the satellite, making it habitable.'
Boy Makes Biomimetic Turtle Robot
't came out into plain view. Darkington glimpsed a slim body and six short legs of articulated dull metal.'
Elon Musk Wants Data Centers In Space
'Internally it’s made up of millions of components, but the most important ones are the thinking and memory parts of the Mind proper.'
Origin F1 Humanoid Robot's Facial Skin
'I could look down at that face of carefully molded synthetic rubber, tinted the exact shade of the doctor's living flesh.'