Even if AI knows everything and is basically sentient, we still need to understand these things to work with it. How can we prompt it reliably without understanding the subject matter for which we are prompting?
If anything I consider fundamentals in STEM (such as Math/CS) to be even more valuable moving forward.