Tesla will purchase power from a solar and battery plant located in Arizona, which is backed by KKR.