The ALMA REBELS survey: obscured star formation in massive Lyman-break galaxies at z= 4-8 revealed by the IRX-beta and Mstarrelations