A large Apple logo, seen from a low angle, is displayed on the side of a building.

Apple shareholders have rebuffed an attempt to pressure the technology trendsetter into scrapping corporate programs designed to diversify its workforce.