You can turn on AirPlay to use on your Mac computer through the System Preferences app's "Displays" menu.
There are several ways to determine whether you can get rid of a PS5's Wi-Fi network error message or if it's a hardware issue that Sony needs to fix.