Andrew Yang says a basic income policy will be "necessary" to address the impact of AI on the workforce.