My understanding is that with the flu shot scientists and epidemiologists essentially make an educated guess as to which strains are going to be prevalent in a particular year.
Why is COVID-19 different where the expectation is that one vaccine will prove a panacea. The virus has already shown that it can mutate similar to the flu vaccine.