Michail Antonio's 10-year spell at West Ham is over after the club decided not to offer the 35-year-old a new contract.