XMM-Newton observations of Extremely Red Objects and the link with luminous, X-ray obscured quasars