Intel got lucky when they got the IBM contract. Matter of fact IBM would be huge if they kept on making their own shit.
The only CPUs IBM had at the time the PC came out (AFAIK) were ones for the System/370 mainframes, wildly unsuited for a home computer.