Costco shareholders rejected a proposal urging them to evaluate any risks posed by diversity, equity and inclusion practices.