With phone prices being what they are, it makes more and more sense to actually take legal action. Google would be foolish not to meet their promises.
It helps that they haven't come back on their promises before. The Pixels have always received the years of support ad promised at launch. In some cases that was a mere three years, but customers knew (or could easily have known) that was a possibility when they bought their phone.