Barcelona's Lionel Messi won a record sixth Ballon d'Or, edging Liverpool's Virgil Van Dijk to the award.