The most powerful elected US Democrat, Nancy Pelosi, has visited a hair salon in San Francisco, breaking rules that only allow service outdoors, in order to control the spread of coronavirus.