BeOS did not great when they had their own HW, sure the BeBox was cool but also far to expensive and therefore sold badly.
Afterwards BeOS failed again on PPC when the were trying to backstap Apple, as a result Apple closed their HW and Be ran out of (PPC) options.
Then they went x86, where they sold reasonable numbers, but again decided to go head-on this time against MS. What a suprise when MS fought back and forced HW dealers to stop bundling BeOS if they wanted to continue to get OEM versions of MS-SW.
So yes BeOS did fail on x86, but the reason wasn't x86 it was Be themselves.