Contractors are taking advantage of multibillion-dollar train and transit contracts, even as funding challenges create hurdles for project execution.