I recently picked up a foil board to go with my other windsurf gear, and the sail is absolutely a confounding effect
I've read some on the subject, and got a book by a famous boat designer, Kotaro Horiuchi, which describes the actions of the float controllers you are talking about as well as other aspects. Foil boats have to be fairly lightweight at the moment, which is why the america's cup boats are designed the way they are.
I've also seen those e-foil surfboards but have never tried them as the price point seems absurd.
My board (and all the foils I see on surf gear) just have enhanced static stability based on some combination of dihedral, a fuselage, and a negative lift rear wing, very similar to an airplane. That's because it's down to a shift of body weight, sailing forces, etc.
It's become all the rage in the last 2-3 years with things still not quite standardized. I had to drill out my foil-approved board to get larger M10 bolts in there.