Some of the applications which R&D firms are finding for smart fabrics and wearable devices are surprising. Sleep-monitoring and health-tracking are ideas that have been around for a while, but how about a fabric that can generate its own electricity?