Direct investment and its trade deficit are reaching new heights, despite political pressure on Berlin to pivot away from Beijing.