Raheem Sterling was also on target for the Blues.
Raul Jimenez scored twice for the Cottagers.
An 89th-minute goal by Havertz helped Arsenal beat Everton, but Manchester City still clinched the Premier League.