Electric vehicle (EV) brand Tesla went from the market's biggest sales winner in 2023 to its biggest loser in 2024.