Tech giants Meta and Amazon are re-evaluating diversity initiatives in response to shifting political and legal landscapes in the U.S.