The point you are arguing here is wildly antithetical to the entire concept of dialectical materialism. A child's analysis of Marx.
What's that got to do with anything?
If you are saying that AI would somehow be contributing to a socialist goal for Mamdani and you use Marx to advance that statement, kind of everything?