+1, Iryo and Ouigo are recent and they are losing money. Renfe has always been tremendously expensive - more expensive than a car or plane.
These train travel success stories are anti-personal transportation propaganda. They want to push you to using trains and then they will raise the prices - they want you not travelling anywhere if you are poor.