Mike Ashley's Frasers Group has acquired a £3m stake in Marks Electrical, marking its latest investment deal.