In a conflict between technologically advanced opponents the surface ships of both will die.
The idea is to keep your surface ships out of range of the other guy’s stand-off weapons, and sink his surface ships with your submarines, which is why the AUKUS agreement is ticking off the Chinese. The USAF has more aircraft than all the other AF in world combined. The second largest AF in the world is the US Navy. The USAF and Navy provide an insuperable barrier to invading Taiwan, if we chose to intervene.