Note that although Panasonic is technically building them, they are doing so inside the Tesla Gigafactory in Nevada. Panasonic wasn't able to deliver the gains that Tesla wanted which strained the relationship and led to Tesla's decision to manufacture cells independently.