Consultation costs for the government’s failed voucher scheme to help small businesses adopt new technology hit £8m before the plug was pulled.