The construction industry is in the midst of a period of exceptionally steep and fast-rising costs for a variety of materials, compounded by supply-chain disruptions and difficulty finding enough workers, which could threaten the financial health of many contractors.