You might want to check "Arcanum: of Steamworks and Magick Obscura" a beautiful pc - rpg published several years ago, set in an imaginary world during an era that could be called "Victorian" (reminiscent of the nineteenth century western countries) with different races (men, dwarves, elves, orc etc.) and magic coexisting with steam technology; in this world, magic never disappeared but is now in a precarious balance with technology (the two are quite incompatible).
It’s a really interesting setting that could give an answer to your question.