Given your enthusiasm for small arms, I'm sure you don't need me to describe how for a weapon to be a viable small arm, requires very high demands for size, reliability, logistics... that's even assuming the weapon can achieve satisfactory rate of fire, accuracy, kinetic performance to begin with.
Yes, it makes sense to pursue a variety of technological pathways for future small arms, and sure, eletromagnetic launch small arms are worth doing applied research for.
Applied R&D is worth doing across a variety of domains.
But applied R&D for a test rig or concept doesn't mean a test rig or concept is anything near resembling a viable weapon.
I hope you're not seriously suggesting that you expect to see a EM launch small arms by 2030, in a manner where it would have sufficient performance, reliability and reason to replace conventional small arms.
Heck, for 2030, I would be impressed if the PLA are able to issue LPVOs with a FF handguard kit for their 191s in wide numbers.