Amid thousands of evacuations and the spread of smoke to the United States, the Canadian armed forces and the Coast Guard were summoned to help battle the blazes.