Tech shares led US stocks higher Wednesday following strong earnings from Netflix and a White House announcement that reignited enthusiasm about artificial intelligence.