No source, but I saw some comments here or on Reddit saying that getting batteries in the large quantities you need for EVs is very difficult. Tesla's Gigafactory allows them to not have to compete for that supply, which may give them a price advantage over others buying from Panasonic.