swappable batteries is something NIO does, but agreed it not widespread. Tesla wanted to this at one point but they cancelled the idea. not sure why
It would have eroded his competitive advantage since he had a car which had 2x the range of his competitors.
It would have set logistic constraints and limit his innovation. You can't build cells into the structural frame if you go with a removable pack.
It would have meant building an economy around pack recharge which is a large initial capital cost.
It would have meant developing and commercialising robotics beyond the capabilities of the time to do autoswap.