John Swinney has been accused of playing politics with national security after pleading with Andy Burnham to allow a Chinese wind farm plant to proceed despite being warned of the risks.