Tesla Motors Inc.’s plan to build what co-founder Elon Musk bills as the world’s largest battery factory could shake up the power industry and trigger a bidding contest between states eager for the 6,500 jobs the $5 billion investment could create.