Once the purview of science fiction, automatons are getting closer to reality.