I'm guessing you have no familiarity with SCM. Money has nothing to do with this. The fact that Apple can ramp up and build so many devices so quickly while maintaining quality control is nothing short of amazing. No other company in the world has to deal with this level of demand.
Samsung builds more smartphones, but the vast majority of them are relatively low tech that gets pumped out throughout the year; not quite the same thing as meeting demand for hundreds of millions of their latest Galaxy and Note series in one quarter.
When has Apple sold hundreds of millions of iPhones in one quarter?