Both tech titan Apple Inc. (NASDAQ:AAPL) and automaker General Motors Company (NYSE:GM) posted quarterly earnings on Tuesday.