Tesla acquires German battery company