From clump to disc scales in W3 IRS4: a case study of the IRAM NOEMA large programme CORE