Beijing has urged local companies to avoid using Nvidia Corp.’s H20 processors, particularly for government-related purposes, complicating the chipmaker’s attempts to recoup billions in lost China revenue after the Trump administration reversed an effective US ban on such sales.