Far from a fairytale, a San Francisco professor and artist is defining fresh adaptations of lowly fungi to the needs of a modern society