Thanks to better sensors and other tech advances, robots are being used for new applications, including quality control.