A revolutionary treatment for eye disease was inspired by the technology used to repair the Hubble Space Telescope.