A bionic eye has allowed a man whose retina was damaged to see again for the first time in 10 years.