A chef has prompted an outpouring of anger after he branded customers who share meals or order tap water "window diners".