Can companies build on top of the reference Implementations, or are they primarily to demonstrate that the specifications work?
The Marlin reference implementations may give you valuable insight for building commercial implementations. However, the reference implementations are mainly for illustration and verification of the Marlin specifications, as well as prototyping. They are not suited as a base for commercial product implementations.