A supplier to Tesla Inc. ended up providing a tiny fraction of battery material the carmaker ordered almost three years ago, in part due to issues with the Cybertruck, according to a person familiar with the matter.