Intel's profit, and revenue, have declined for 3 consecutive years. Their price to earnings ratio is 36.
Nvidia's revenue is now greater than Intel's with 20% of the employees that Intel has. Their PE ratio is 78, roughly double that of Intel.
The market valued Nvidia as growing and Intel as not.