The clash between the president and Teslas C.E.O. wiped billions off the electric vehicle maker’s market capitalization. Other risks abound. Can the alliance be fixed? The world was riveted on Thursday when President Trump and Elon Musk clashed — repeatedly, bitterly and sometimes pettily — online …