Also brewing and herbalism, but yes, the criminality of witchcraft was about the church being anticompetitive.
Sorcerers in the mid-east practiced algebra and astronomy, which was too spooky for the Imams.