Apple shareholders voted down a measure on Tuesday to end the technology company’s diversity, equity, and inclusion program.