Venezuela has arrested six foreign nationals over what it claims is an alleged CIA-led plot to kill its president.