Sir Paul McCartney says artificial intelligence has enabled a ‘final’ Beatles song