It would have been difficult to forecast in 2017 the sudden warm relationship between Donald Trump and Silicon Valley. In…