Tesla Motors Inc.’s Elon Musk is close to naming sites in at least two U.S. states for a planned battery “gigafactory” and will break ground at each to ensure one is ready to supply lithium-ion packs when needed.