Tesla enters into agreement with Chinese lenders for Shanghai Gigafactory