I wonder how much this cost vs a Math Professor or a team of Math Professors.

Sadly math professors aren't very expensive. Academics are paid terrible wages. Until recently, tenure was the carrot at the end of a grueling education. But now that tenure positions are getting rarer (well, tenure positions aren't growing vs the number of aspiring academics is), they continue to be cheap highly educated labor.

it will only get cheaper in the long run

40x cheaper per year if trends continue

for a sufficiently long definition of long

No for a very short definition of long, look at data on: how fast do prices decrease for a constant level of performance