Rise of robots could cost nearly half of British jobs