Microsoft co-founder Bill Gates has warned Apple and other tech companies that they need to exercise care when dealing with governments over important issues, such as the San Bernardino fight between Apple and the FBI over a locked iPhone, suggesting the firms may be inviting government intervention for overtly arrogant actions.