Not only are electric trucks are unprofitable, it means you switch your dependency from Middle-Eastern fossil fuels to Chinese rare earths. At least we can make biofuels from sugarcane
You don’t burn your batteries though. You build them once and then use them for 20 years. They will just keep working when the next war erupts on the other side of the planet.
You can also process rare earth concentrates on your own soil, there's no need to offshore that to China and Malaysia other than "No waste ponds in my Backyard".