Microsoft is one of the few tech firms that haven't bent to President Donald J. Trump's whims. Could it cost the company?