Magic missile is probably generic enough - lots of non-D&D works include a magic missile (both with that name and with similar properties). Similarly, a lot of D&D lore is just repackaged fairytales so you can easily have a setting that is not quite unlike D&D but doesn't use any of their IP.