A Brooklyn real estate magnate has pleaded guilty to a charge alleging that he worked with a Turkish government official to funnel illegal campaign contributions to New York City Mayor Eric Adams.