Apple's shareholders have approved a proposal urging the iPhone maker to undergo an independent audit assessing its treatment of female and minority employees, delivering a rare rebuke to a management team that runs the world's most valuable company.