The multi-year deal will allow Netflix to create and air its own shows inspired by characters from DreamWorks Animation's hit movies.