I suggest if one looks at the history of funding for mathematics and science, the product of these efforts is not understanding, but rather power. Funding went way up after WW2 when the war demonstrated that power flows from them. Math not only contributed to the scientific weapons of the way, but was directly used in operation planning (the birth of the field of Operations Research) as well as in cryptography.
The reason this matters is that AI is also a quintessential power-oriented technology. From the point of those providing the monetary lifeblood on which modern mathematical practice depends, the current math-AI discussion presents no issue worthy of concern.