Mercedes-Benz Group and Volkswagen Group on Tuesday signed deals with the Canadian government to secure access to Canada’s large stores of key battery materials such as lithium, cobalt, nickel and graphite, as the German companies compete for scarce supplies of raw materials with other automakers shifting to electric vehicles.