Tesla offers battery upgrades for the Roadster: https://shop.teslamotors.com/products/roadster-3-0-upgrade
Expensive, though ($29,000).
In theory, the Model S should be easier to upgrade, since the battery is provisioned for quick change (that was demonstrated but not implemented otherwise)...