It almost seems as if it is decided on a case-by-case basis. I’d guess that almost the entire audience regards 3P0 and R2 (and now BB8) as sentient/people. But the humanoids in the films often display little or no concern if droids are maimed or destroyed in the series.
Are droids in the SWU beings, or mindless objects? This doesn’t seem to be addressed anywhere.