The nationwide shortage of certified public accountants, stemming from retirements and a decline in accounting majors enrolled in college, may hasten the integration of artificial intelligence into the profession, but seasoned tax experts are needed to lend their expertise and guide the new technology.