Tuesday's vote at the iPhone maker's annual meeting was seen as a test of shareholder views on DEI programs, which many companies added or beefed up starting in 2020 amid the Black Lives Matter movement.