Tesla adds $500 million to borrowing capacity amid expansion