Swing state takes hawkish turn as candidates seize on mainland-backed EV battery plant to accuse one another of harbouring Beijing ties.