UK's poorest to fare worst in age of automation, thinktank warns