The German government and mobile phone carriers have agreed in principle on steps to phase components by Chinese technology companies out of the nation’s 5G wireless network over the next five years, two people familiar with the matter told Reuters on Wednesday.