In microeconomic theory, it is still set by demand, except that they are capturing some of the rents, causing “dead weight loss” in the market as a whole (eg higher profits but less overall money changes hands). So there are still limits on the monopolistic behavior, but it is still bad for the buyer