That's not true. Naughty dog shutdown online servers for their ps3 games in 2019:
https://www.naughtydog.com/blog/uncharted_the_last_of_us_mul...
Rockstar games shut down gta online for ps3 in 2021:
https://www.rockstargames.com/newswire/article/51989315o2aa3...
To be fair, there are private servers for these games, thanks to reverse-engineering efforts, but those are community efforts.