Device 'could repair nerve damage'