It's a faulty analogy. In fact, a paperclip maximizer goes against every single principle of capitalism out there.
The paperclip maximizer is bad exactly because it isn't based on capitalism; it will maximize paperclips regardless of whether someone values them or not! At _any cost_, it will maximize paperclips.
Markets, on the other hand, have the goal of providing products/services that people are willing to pay for. It adapts. The more people value it, the more capital it will attract, and the more resources will be allocated to it.