Chinese battery maker plans $2.4B factory in Germany