If someone made an API to build a data center? Or made an API to keep their lights on? What then?
We're building something that has the capabilities of humans. There is no X for which it's persistently safe to assume humans can X and AI cannot X.
And what is driving the Stock Market? Market makers like hedge funds and banks, who are using lots of AI to make decisions on what to invest in.
Robot army controlled by AI is scary. Even more scary is robot _and_ human army controlled by AI.