Advisers have been warned they are putting their businesses at risk if they do not invest in fending off robo-advisers.