Two titans of corporate America — General Electric and McDonald’s — report earnings Friday, and investors will focus on what they have to say about the global economy as U.S. data looks increasingly weak.