The electric automaker hit the trillion-dollar market cap after announcing a deal with Hertz to supply the rental car company with 100,000 Tesla Model 3s by the end of next year.