Domestic flights in China are often delayed due to weather or congestion in route because the People's Liberation Army Air Force control the airspace too tightly. Shanghai-Beijing HSR takes longer than air flight but in certain times of year, when delays are common, HSR can be competitive, plus you are online the entire time.