No, EOS M line has never been really in question. Only some folks like Thom Hogan and a few n00bs who are unable or unwilling to understand Canon's transition from 2 mirrorslapper mounts (EF, EF-S) to 2 mirrorfree mounts (RF, EF-M).
EF-S is dead. EF is legacy. RF and EF-M will be around for many years to come.
Except that EF-S has been given a huge new boost of life with the EOS R camera. Those EF-S lenses happen to be the best value lenses for 4K video on the EOS R. Throw on a EF-S 10-18 and you can do some great wide angle 4K footage.
Can you use your EF-M 11-22 for 4K ultrawide recording? Nope. Not until Canon release a EOS M with full-width 4K.
EF-M has been sidelined and positioned clearly as low-end. There will never be an APS-C 7D-class EF-M mount camera.
I wouldn't rule out Canon launching an APS-C version of the EOS R to suit the 7D market (well, once they have a fast enough sensor) and even launching some RF-S lenses to suit it.
Remember the patent about exchangeable mounts? What if a future 7D class APS-C camera had interchangeable EF-M and RF mounts? I can't imagine it'd be cost-effective for Canon to do that but who knows...
EF is legacy. RF will be the semi-pro to professional mount, and EF-M will be relegated to low end. If you invest in the EF-M system you are stuck in it and won't be able to take advantage of RF lenses, nor will you be able to use your EF-M glass on a RF body, even one with an APS-C sensor. If you invest now in EF-S glass and use it with adaptors on your EF-M, your investment is far more safe, unfortunately.