LONDON -- BP plans to invest up to 10 billion euros ($10.7 billion) in low-carbon fuels, renewables and electric-vehicle charging in Germany by the end of the decade to rival local power companies, as competition over the energy transition of Europe's largest economy intensifies.