it says nothing about whether it is friendly or unfriendly. If it extracts rents from things humans don't actually want in reflective equilibrium and channels it into things they do want it is friendly, vice versa unfriendly.
it is also phenomenally unlikely that the most powerful optimization an AI will be able to do is piggyback our financial system.
Three Toed Sloth has a nice exposition on the difficulties of optimizing an economy, including the best explanation of convex optimization ever: