The engineering and maintenance group was already a market darling, and saw shares soar after saying it would enter the “highest-growth” infrastructure area.