Your first sentence is both true and irrelevant. It hasn't done a lot to bolster Apple and make the brand cool again.
As far as "quite frankly their products actually work", no, no they don't. I work with three computers on a regular basis - my Pi, my Windows 10 Dell, and a 2019 MacBook Pro. The Pi and Dell regularly impress me with how well they work. The MacBook Pro and iPhone regularly surprise me with how poorly they work.
They used to work. That stopped after Jobs died. Quality just went out the window as Cook insisted on shipping garbage on an annual schedule.