How Tesla tapped a Canadian lab for battery breakthroughs