Inside the Volkswagen deal: How Canada fought off the U.S. to land a coveted electric vehicle battery plant