Canon has discontinued the EOS M200 to follow the discontinued the EOS M6 Mark II. Only the Canon EOS M50 Mark II remains in the lineup. We think that the rumored Canon EOS R100 will be the end of the line for the Canon EOS M50 Mark II as well.
We have no solid information about any discontinuations of EF-M lenses, perhaps Canon has a plan to keep those lenses relevant, as there are some good ones out there.
There should be inventory of many EOS M cameras out there for the next while.