Sir Paul McCartney has revealed The Beatles' final song is coming out later this year, with AI John Lennon.