U.S. equities gained at midday Wednesday on an artificial intelligence initiative announced by the White House and strong earnings reports.