There are many races in star wars, not all of which are humans. You could be racist against Gungans or Twi'lek if you wanted. Droids in star wars could be interpreted as fairly close to human in some cases, but are used as a slave race in probably a majority of cases
Nah, I don't think it extends to robots