OTTAWA – Canada accused China on Tuesday of hacking into the computers of its research and development arm, which Beijing strongly denied.