As trade tensions escalate, investors are flocking to stocks of smaller US companies, which rely less on foreign sales than their large-cap peers. But in some industries, tariffs could affect smaller companies in unexpected ways.