Soft batteries and water-walking robots are among the many creations made possible by studying animals and plants.