Apple earnings rise as economic gloom hits tech