The bigger issue would be if Company B's CEO had a level of control over
the non-profit Company A. I think ultimately it depends on the specific facts. There may be conflict of interest issues with the CEO that are bigger issues than the shared control.