Did you know that in Star Wars lore, there is a non-canonical back-story about the R5-D4 with the bad motivator that Owen Lars intended to purchase from the Jawas? His name was Skippy and he was a Jedi.
One day, R5 removed his restraining bolt with the Force…Skippy wandered the desert for days in search of his destiny, until finally he was picked up by a Jawa sandcrawler. There he had visions of Darth Vader and Princess Leia, and met R2-D2 and C-3PO. Eventually the Sandcrawler stopped, took all the droids out, and lined them up side by side in front of Owen Lars and Luke Skywalker. Skippy immediately sensed the Force in Luke, and persuaded Owen to choose him. Skippy was ecstatic at the undoubtable destiny that lay before him and Luke.
However, R5 soon envisioned that, without Luke, stormtroopers would come and take R2 back to Vader, where he would be destroyed and Leia would be killed, leading to a chain reaction of horror that will include the Rebellion being destroyed, R2’s memory being wiped after 3PO refuses to translate his ‘rubbish’, and Luke dying on Tatooine without ever fulfilling his destiny. R5 knew what he had to do, and suddenly set off a mild explosion inside himself, leading Luke to believe that he had a busted motivator. Skippy then used the Force on 3PO, telling Luke to buy R2 instead. Owen did so, never knowing the great deed that R5 had just done.