A 24-year-old Malaysian was sentenced to 20 years' jail after he slashed two of his bosses with a chopper - killing one and grievously hurting the other.