What will likely be the last Beatles song has finally been released, and it owes its completion to help from artificial intelligence.