Elon Musk-led Tesla has confirmed signing a massive $16.5 billion chip manufacturing deal with Samsung Electronics.