A man inside a piece of construction equipment died when it fell into the river after slipping off a barge in Sacramento County.