Demand for the U.S. auto maker’s vehicles slid amid stronger competition from Europe and China and rising anger at Elon Musk’s political forays.