How AI might benefit the middle class