Birational superrigidity and K-stability