BERLIN—Tesla Inc. has begun assembling batteries in Germany but will focus cell production in the United States in light of Inflation Reduction Act incentives, the company said, making it one of the first firms to declare a strategy shift prompted by the package. The U.S. electric-vehicle maker is also preparing to produce cell components such…