There's no usable way to do this AFAIK.
The PS4 can do this because they designed it to sample the video internally with a video encoder. They can then stream that signal through the local network to a computer.
In theory you could buy an external device for a PS3 used to record via HDMI, and I'm sure there are some ways to get that working somehow. For the PS4 though, Sony is creating the software to make it easy to use.
You also get a lot of LATENCY issues through a network so games can feel sluggish, especially if using wi-fi not ethernet to connect the PS3/4 and PC to the router)
(to be clear, you're just using the laptop SCREEN and the PS3/4 is doing all the processing and streaming a video. Your button presses also go through...