If you have multiple bikes intended for the same purpose then matching components is probably a good idea. But most people I know, even those with extensive fleets of bikes, usually only have one bike for each purpose - one 'road' bike, one CX or gravel or touring bike which would generally have tires too wide to fit on a road bike, or a fat bike and an XC mountain bike, again with tires that cannot be interchangeable.