Tesla opens Gigafactory in Thailand and Canada