Actually, it is quite a grey area. Fanfic/spec scripts could be considered derivative works and therefore infringe on the copyright on the original work, but there are provisions for fair use and parody.
Plus the standard "I made them no one else can touch", which is a valid personal feeling, but little basis for law.