Tesla CEO Elon Musk showed off a prototype of its humanoid robot 'Optimus' on Friday, part of his aim for the company to be more than an electric vehicle (EV) maker.