The technology at the heart of the Supercharger was developed internally and leverages the economies of scale of existing charging technology already used by the Model S, enabling Tesla to create the Supercharger device at minimal cost. The electricity used by the Supercharger comes from a solar carport system provided by SolarCity, which results in almost zero marginal energy cost after installation. Combining these two factors, Tesla is able to provide Model S owners free long distance travel indefinitely.
"In the face of entropy and nothingness, you kind of have to pretend it's not there if you want to keep writing good code." -- Karl Lehenbauer