Germany won't engage militarily anyway and we will continue to trade, too. The only threat to the relations can only come from the CCP restricting trade.
Germany simply doesn't have a navy, overseas territories in the Pacific, nuclear submarine deals with Australia, a space force, a war-deciding satellite-internet company, or an air force that could fly further than Switzerland.
On the economic side, Maybachs and Porsches sold to Chinese customers pay for our standard for living. We won't bite the hand that feeds us. On really crucial industries, we don't have anything, especially not in China: Social networks with billions of users, AI, computer chips, raw materials, PV cells - nothing. We couldn't cut them off from anything critical because we don't have it.
To China, we're harmless. That's why they don't care. Smile and wave, boys.