The seven-year deal, which begins in July 2018, will make all eight “Harry Potter” films and the forthcoming “Fantastic Beasts” movies available on NBC’s portfolio of cable networks, which include USA and Syfy, according to a company statement Monday. It also lets NBC’s theme parks host fan events, movie screenings and promotional activities tied to both franchises.