Man shot while attempting to rob driver at gas station