Germany’s openness to Chinese investment is waning quickly, potentially chilling diplomatic relations between the giant trading partners.

A German political and business delegation, headed by Vice Chancellor and Economics Minister Sigmar Gabriel, landed in Beijing Tuesday morning, hours after Chinese officials summoned a senior German embassy official to discuss Berlin’s recent decision to halt the takeover of a German chip maker by a Chinese fund on security grounds.

Mr....