Apple boss Tim Cook has said his company may have to change its diversity practices as the US legal landscape shifts.

His comments came just minutes after a majority of shareholders rejected a proposal calling on the tech giant to consider ending its diversity policies, such as the use of race and sex in hiring decisions.

Apple had urged shareholders to vote against the measure, which the company had argued was “inappropriately” trying “to micromanage” its business.

The scrutiny of the firm comes as US President Donald Trump has called for an end to diversity, equity and inclusion (DEI) programmes in the government and private sector.