Elon Musk’s focus on American-made products at Tesla could shield his company from the brunt of President Donald Trump’s new tariffs on foreign vehicles and automobile parts.