They do use some opensource components in the X1C AP board, like vsftp, mosquitto, paho-mqtt-cpp, linux kernel. Email opensource@bambulab.com to request the source code.
But as far as I know, the main part of the firmware is written by bambulab. The firmware does not use klipper or marlin.