Tesla Inc., once the unchallenged leader in the electric vehicle (EV) market, is grappling with a troubling combination of declining sales and a rocky rollout of its much-hyped Robotaxi service.