SFO is a UA hub so your best bet for getting to LAS from SFO is AS as AA doesn't really fly there from SFO. If you're willing to fly through LAX then there are a few codeshare options on CX (on AA metal).
As for immigration, yes you will clear at your first point of entry into the US or if you fly via Canada.