Tesla reached an agreement with a group of Chinese banks to secure over $500 million in loans for its new Gigafactory in Shanghai (TSLA)