Malaysia said it will take "necessary action" against Malaysian companies if they are found to be involved in a fraud case linked to the alleged movement of Nvidia chips from Singapore to China.