You would have to transfer the tensor to the CPU first (and detach it, if necessary), as given in the error message:
x = fake_images[0].detach().cpu().numpy()

To transform the numpy array to a MATLAB mat you should use scipy.io.savemat.