Tesla was using CATL batteries in part. Tesla uses different batteries in diff cars, also some come from China, some other places.
Tesla said they'd have amazing new 4680 batteries but that didn't really succeed, a reason why the ct has lower range than planned is the new higher density batteries didn't arrive.
Tesla has one advantage left, they can make their cars at mass quantities and make a profit. Most of the western auto companies can't do that, unless they charge very high prices.