AI is helping people restore memories once thought lost