Investec has decided to close its Click and Invest robo-advice business, following two years of losses.