Mr. Dobrindt and his team, who drafted the legislation, wanted to reassure German automakers, who collectively produced 8.6 percent of the world’s automobiles in 2016, that federal policy would be supportive of their research initiatives.