U.S. consumers looking to get a tax credit on an electric vehicle purchase have fewer models to choose from under new rules that limit the countries where automakers can buy battery parts and minerals — a potential blow to efforts to reduce planet-warming emissions from autos.