The investment is to make the RISC-V CPUs in Intel foundries. It's actually quite in line with Intel's current strategy of opening their fabs to external CPU designers.
As for the "threat" of RISC-V to Intel, I don't think it's quite as big as the ARM one so they might want to boost RISC-V in an attempt to fragment the mobile market where ARM is king.
As for the "threat" of RISC-V to Intel, I don't think it's quite as big as the ARM one so they might want to boost RISC-V in an attempt to fragment the mobile market where ARM is king.