CEO Elon Musk posted on X that Tesla will soon end production of its battery-electric pickup truck.