Unconventional resistivity scaling in topological semimetal CoSi