President Macron vows to rebuild the cathedral within five years as officials investigate the fire.