It's a cheap and easy way to add content to your game. Red Dead Redemption had a zombie mission, Sleeping Dogs had one, Call of Duty, etc. It's overdone and cliche by now but if people didn't respond well to these zombie missions they wouldn't keep making them.