Salaries are rising as employers such as Netflix and Walmart seek candidates with artificial-intelligence skills.