Daisy was low effort to make. They pretty much recycled Peach's skeleton and animations with a few tweaks to make her stand out (and not even moveset property tweaks, just aesthetic ones). She even looks like her head was Frakenstein'ed onto Peach's body. I think the decision to make Daisy a separate playable fighter than an alternate costume like some characters is that they wanted to introduce some animation tweaks to Daisy I guess so she got her own slot.
Regardless if Daisy had major roles or not, she's still a fairly popular recurring Mario character, enough to get requests for and enough for her to get a skin in her likeness since Peach's introduction. You can't just write off her spin-off appearances as being completely pointless. To be honest, while I don't think Daisy is a great choice to be a new fighter, she's not completely out of the blue and obscure as some people claim she is.
The same thing applies to Waluigi. He's appeared as a playable character in a countless amount of Mario spin-offs. Hell, the fact that he's an Assist Trophy before much more recurring "major" characters in Mario games hints that it's not just about his roles in platformers or the lack of thereof but his popularity due to people enjoy using him in the likes of Kart, Party, etc.
Piranha Plant was pretty WTF but was still a recognizable Mario character that people would see and say, "these guys are crazy to put that plant enemy from mario to be playable" so it comes with its own sort of charm.