An American restaurant's decision to charge fees to customers who leave inadequate tips has sparked debate on social media.