Tesla aims to bring humanoid robots into the workplace and, eventually, your home as Elon Musk debuted the prototype overnight.