There is a slime mold that does this, it lives on decaying matter in the soil,why it would be on yor tomato I truly don't know unless this one was dying off for some reason and the roots became the decaying matter,then the plant finally succumbed. That is far as my thinking goes.
XX Jeannine