The job at Apple may have been a better environment, but there's no reason to suppose it would have paid more. It may have been a significantly lower level job. We don't know.
Anyway, even if it was (in retrospect) a mistake to turn that down - bad career choices should not be subject to a death sentence. Well, except in a very few edge cases.