NEW YORK — Democrats competing over a coveted congressional district in Manhattan slugged it out during a heated debate Thursday night, sparring over big tech and who would be President Donald Trump’s toughest foe.

But it was Alex Bores — a state lawmaker whose plans to regulate artificial intelligence has led to a flurry of industry spending both against and in support of him — who was the prime target.