Elon Musk’s company hopes an “ultra-low cost” trim of a best-selling EV can help it stem market-share losses.