President Donald Trump unveiled an effort to boost computer science training in U.S. classrooms, a measure that won him a show of support from Silicon Valley and other business leaders after recent tensions between the White House and American corporations.