Jake Gyllenhaal's Nine Stories production company and Amazon MGM Studios will continue to work together until at least 2027.