Copying nature could save us energy, study shows