Making isn't,selling is
Making a counterfeit chip is not unlawful (at least not universally-individual statesor even gaming commissionsmay have related laws), but selling or attempting to sell a fake chip as the real thing is a crime. It is called fraud.