The Mars Discovery District in Toronto is one of the world’s largest innovation hubs. After years of losing its artificial intelligence scientists and start-ups to Silicon Valley, Canada is focusing on keeping its A.I. leaders in the country. Credit Aaron Vincent Elkaim for The New York Times