Chinese-owned AESC sells controlling stake in US battery factory.