The tech giant has become the latest in a growing number of US firms to row back on diversity, equity and inclusion initiatives.