As you mention the allusions between Tahei & Matashichi and R2-D2 & C-3PO seem to be the most obvious, but the way the film is cut/executed is also similar.
“The one thing I was really intrigued by was the fact that the story
was told from the two lowest characters. I decided that would be a
nice way to tell the Star Wars story…That was the ...