Canadian retail giant Loblaw is to spin off and float its real estate assets to provide it with capital to expand.