An electronic eye implant has restored vision in people with blindness caused by age-related macular degeneration.