Uncovering electronic and geometric descriptors of chemical activity for metal alloys and oxides using unsupervised machine learning