Apple is set to beat its own record for the most profitable quarter in corporate history when it reports earnings.