By this metric (vs. component and manufacturing cost) PS5 (both models) became profitable less than a year after launch.
Of course Apple's gaming devices (iPhone, Apple TV, etc.) are always profitable.