 Japans Panasonic Corp. selected Kansas as the location for a multibillion-dollar mega-factory to produce electric vehicle batteries for Tesla and other carmakers, lured by the largest package of taxpayer-funded incentives that the state has offered a private business. 