Elon Musk supports Germany’s AfD, sparking controversy and editor resignation, as country faces upcoming elections