Unlikely intersections and Chabauty's method