An electronic eye implant could offer an alternative to corneal transplants in restoring sight.