Tesla sales fell in another sign that Elon Musk’s once high-flying electric car company is struggling to attract buyers.