On a critical Kirchhoff-type problem