The measure, championed by Mayor Michael R. Bloomberg, is certain to intensify a growing national debate about soft drinks and obesity, and it could spur other cities to follow suit, even as many New Yorkers say they remain uneasy about the plan.