To connect AirPods to PS4 or PS5, you'll need to pick up a Bluetooth adaptor with audio capabilities, since Bluetooth doesn't come with the consoles.
You can update your PS5 controller through an on-screen prompt, but if you miss it, there's a manual workaround.