Tesla is selling $100k cars, while other battery factories make batteries for $100 phones and $500 laptops. Maybe it is too expensive for them to set up a fully renewable process.
Or maybe they lease their facility. A lot of companies do, including mine. There's about a 0% chance of us installing renewable powerinfrastructure like that which would be difficult to take with us when we move out.