Well, I think it's fine for the not-so-near future. They are known to support their hardware for quite a long time. I even suspect that before their support ends, there will be some other groundbreaking new hardware.
Yeah, I plan to get a new macbook soon. I will not put linux on it until I get another computer to replace it. Or if ever my work apps work with linux. I typically keeps computers for at least 6 years before upgrading, so I bet M2 or M3 would be supported by then.