But in the case of this demo(and many modern demos), you are getting the full game with a stop put in at a certain point. Unfortunately, they released the "demo" without that stop at all, essentially releasing the full game for free. They then pulled the demo. All they have to do is fix the stop that failed and re-release it...
Oh I see- in that case I'll disclaim that my last post was assuming things were being done 'the right way' on the tech side.
Shipping the complete game with a software lock to prevent you from progressing past the 'demo point' is certainly one way to do it- much cheaper and faster than slicing off an actual demo build, but evidently Y6 is the perfect example of why you don't do that!
I expect that there are serious internal pipeline discussions now being had at sega about how to avoid giving away an entire game for free. Stuff like setting up their engine to only ship the data files that the demo should be able to access- they could certainly fix the cutoff point and push out the demo, but the fact that all of the data would still be in there means that some enterprising tinkerer is going to dive in and either rip the content or re-disable demo mode and end up with a free game.
Now, whether that ripped/modified content would run on a non-modified PS4 is another question (the answer to which is very likely 'no'), but I doubt sega are happy with the idea of their game data being accessible prior to the official release. I wouldn't expect this to be a quick fix.