Another consideration here is just how long it takes to design, test, and mass fab chips. Apple only just released their M3 chips, so I'd be surprised if they weren't already locking down the design of the M6. You can't just throw together a chip design in a weekend, or even a few months, and then have sufficient quantities ready to go to launch a new product within a calendar year. So, in fairness to everyone, when the Spectre and Meltdown flaws were found, a lot of the designs for chips that are just coming out now, were probably already too far along for the company to go back and make changes to correct the issue.
Which is part of why I wish companies like Intel would slow down on the number of new chips they put out, not that they will. We've hit a point where, at least for PCs, there's a glut of processing power, so just adding more cores or upping the clock speed will do very little, and there's really not a whole lot of improvement from one "generation" to the next. Instead, they could take a year or two to really think through a design, test the bejeebus out of it, and then give people a more substantial upgrade. Sort of like the difference between the 386 and 486 or 486 and Pentium. As opposed to minor incremental improvements on a core architecture shared by 3-4 generations. Apple and Qualcomm could be focused largely on improving energy efficiency, though Qualcomm also has a ways to go to catch up to Apple performance-wise.