The clash between the president and Teslas C.E.O. wiped billions off the electric vehicle maker’s market capitalization. Other risks abound.