In the old days a profile like that would have been made in several steps. First using a plough plane for the flat in the middle. Then two different custom made profile planes for the upper profile and one custom made profile plane for the lower. I have made my own profile planes so it is certainly doable.

If you only need a few metres it would certainly be possible to get close enough using a router with one or two standard rebate/groove bits and a table saw to rough out some parts than followed by some careful work by eye with standard hollow and round hand planes.

Custom grinding knives for an euro head in a spindle moulder would be another approach. I could grind the knives myself from factory supplied blanks though ordering them custom ground is often worth the cost.