Nottingham Forest have signed forward Anthony Elanga on a five-year deal from Manchester United, the two Premier League clubs announced on Tuesday.