The two largest Canadian railroad companies are set to shut down operations Thursday if no agreement is reached with their union workers, as industries brace for billions of dollars in losses.