The electric-car company led by Elon Musk no longer has the market to itself. Investors are focusing on autonomous driving and other new technologies. Tesla sales fell slightly in 2024, the first annual decline in the company’s history, as rivals in China, Europe and the United States introduced …