Former South Korean president Yoon Suk Yeol has been sentenced to 30 years in prison over a 2024 drone operation targeting North Korea.