The rail minister has apologised for suggesting Network Rail may withhold contracts from a company employing an engineer who described Euston station as “unsafe”.