Federal agents have raided the headquarters and 60 stores of US retail titan Wal-Mart, arresting more than 300 illegal immigrant workers.