Reese Witherspoon is to star in and produce two movies for Netflix.