A "hero" grandfather sheltered six people in his top-floor flat in Grenfell Tower on the night it was destroyed by fire, an inquiry has heard.