Sony WH-1000XM3 headset defaults to SBC codec despite forcing aptX codec
Download Sony Headset app for your mobile (iOS or Android). They have settings to remotely configure the headphones.

Turn on the setting to prefer the sound quality: Priority on Sound Quality.

Now you get aptX: