Major companies like Amazon and Boeing reported stronger earnings than investors expected , giving them hope these corporations will continue to prosper even though the U.S. economy is slowing down .