Oil giant Saudi Aramco is narrowing the gap with Apple Inc. for the title of the world’s most valuable company.