On lease vs. buy, a few more things to consider. Of course the choice only makes sense if your annual miles qualify for lease.
For a lease, the title is the lease company name, and if you buy the car, it can take 3 months+ to get a new state title in your name, might vary state-state, in NY it can be several months.
It is relatively easy to sell a car these days (Carvana, Vroom, online companies and forums, Carmax, trade-in, etc). So, instead of thinking about possibly selling / upgrading in three years as the only deciding factor, just work the numbers as best as you can estimating what the car will have cost you in 3 years (or some other time frame) comparing buy to lease. Which will have cost more?
In terms of what the car might be worth in three years, first subtract the $7,500 and your state incentive, and devalue from there for miles and time of ownership. If you got an incredible end of year deal with other dealer and/or mfgr incentives, you might break even or make a $k or two (less likely), but if you buy near MSRP as we are about to do this round, you can probably count on around a $8k loss give or take a few $k, in two or three years (usually the cost of being an early MSRP buyer).
Finally, if you got a state incentive, you may need to either pay back or pay back a pro-rated amount to your state. In NY you just report sale before three years and pay back the prorated difference; so far no limit on how many times you can do that (the more EVs in the world are better state approach). I hear in CA, you can only use the incentive some number of times.