Is it, though? In the case of DEI, it appears to me (on the surface, anyway) that these initiatives are being implemented at the request of very vocal special-interest groups, and at the orders of the politicians who represent them. It seems like a fairly straightforward case of lobbying by institutions whose existence depends on the existence of a social problem. It's a rough analog to Eisenhower's Military-Industrial Complex idea.
The same is true with what you call "questionably applied number theory". The only difference is that special-interest group isn't defined along ethno-racial lines, but instead comprises various bean-counters and ad-men who sell various forms of investment.
In my view, there used to be a consensus that such lobbyists were not welcome in universities, or at least not in droves, because of their tendency to subvert intellectual pursuits in favor of short-term profits.