Silicon Valley leaders are befuddled as both political parties — and venture capital giant Peter Thiel — are rejecting their agenda, which includes the Trans-Pacific Partnership, expanded H1-B immigration visas, new autonomous vehicles regulations, and “gig economy” worker reclassification.