Sometimes the transfer switches that appear to be integrated into the power center really just bolt on the back and are separately replaceable without too much difficulty.
As was mentioned, the exact construction does vary a bit with different models, particularly for 50A transfer switches, but in every case it will be based around one or more electromechanical contactors, possibly with some slight electronic control circuitry and often (in the case of multiple contactors) with mechanical interlocks to preclude the possibility of having more than one source active at any time. I don't think there are any purely solid state transfer switches around, at least not for RV use.