Atari 5200
The 5200 was based on Atari Inc.'s 400/800 computers.  Even though the internal hardware was almost identical, the code in the software was not.  Design mistakes meant that the 5200 had problems with its use.  These problems made it a market failure.