Many criticised US President Donald Trump for defining a woman by her capability of bearing children.