The US president's comments about turning Gaza into a 'Riviera of the Middle East' have faced widespread condemnation.