The world’s most valuable company reported second-quarter earnings Wednesday that beat Wall Street’s expectations yet again, with investors seeking clues into how Nvidia fared with challenges in the China market.