No, it's not 'exactly the same sort of scam' - unless you're trying to tell me that Google, HP, and Microsoft all divert the bulk of their profits through non-profit charities to avoid tax. They divert their profits through holding companies, but these are for profit. Ikea don't do that.
Setting up holding companies in EU to pay minimal tax is standard practice: creating a 'charitable organisation' absolutely isn't. Ikea is a very unique, and in some ways innovative, example of creative accounting.