A German man has been arrested in Russia over allegations he sabotaged energy facilities on orders from a Ukrainian national.