AI will end the west's weak productivity and low growth. But who exactly will benefit? Larry Elliott