Been happening forever. When OS/2 was invented we met with them, talked about licensing some of their tech. Showed them our stuff including our 'Context Manager', an app that let a microcomputer manage several apps at once.
Fast forward 6 months - OS/2 had a Context Manager, looked and worked identically to ours. Sigh. What can you do? Good ideas are not patentable.