Tottenham Hotspur have announced the signing of Dominic Solanke from AFC Bournemouth on a contract until 2030.