Magna International will shut two auto parts plants in the Toronto area next June, eliminating 850 jobs.