The US can survive automation if it reimagines meritocracy