Apple reported strong quarterly earnings boosted by record Macintosh computer and iPhone sales on Monday.