Company B sounds like that is the direction they are headed
Even if you do not get laid off, you'll be dealing with merging technologies and procedures while your competitors are exploiting you going through a challenging phase and passing you up. Where do I sign up? Ugh.