I didn't know that the Dustbuster was the fruit of the Apollo moon landing program, but it seems it is, along with several other iconic products.
The Dustbuster was only made possible thanks to Black & Decker’s work with NASA on developing a lightweight and power-efficient tool for the Apollo Lunar Surface Drill. The same motor design used on the 1969 moon landing was then used to create the Dustbuster.
There's more at the link.
There's a certain wacky circular logic to that. Design a motor that will work in a vacuum - then use the same motor to power a vacuum-cleaner in atmosphere. It's a sort of function reversal, isn't it?