Nvidia Corp.’s earnings are set to dictate whether artificial intelligence can regain its status as the key driver behind Wall Street gains—or trigger more weakness after the Magnificent Seven group ...