A Dutch court has sentenced three men to life in prison over the downing of Malaysia Airlines Flight 17 that killed almost 300 people in 2014.