North Carolina State University will be home to a new apprenticeship program in artificial intelligence as part of a federal push to train more workers in emerging fields.