Tesla gets the credit (if and when the new bill passes), it's up to them if they want to pass anything to the customer. But there is no way the customer can claim anything on their taxes with a lease.
But if you put in a ev charging station at home or a NEMA 14-50 outlet you can claim that for a 30% tax credit (form 8911 I believe).