The six-year deal ends the awards show’s decadeslong rotation among ABC, CBS, Fox and NBC.