Taiwan accused China on Monday of trying to influence its presidential and legislative elections after the Solomon Islands cut off ties with Taipei.