Halo 3 did eventually make its way to PC as part of Halo: The Master Chief Collection, which is available on Steam and the Microsoft Store. That's the legitimate way to play it on a computer.
There was never a Halo 3 release for PlayStation, so any suggestion to "buy a PlayStation" to play it is simply mistaken. If you want Halo 3 on PC, the Master Chief Collection is your answer.
It's also been updated with modern resolutions and performance improvements, making it the best way to experience the game today.