You don't actually need RTOSs for most practical applications. Even SpaceX used stock Linux.
That said, Linux can be built in a realtime mode.[1]
That said, Linux can be built in a realtime mode.[1]
SpaceX uses Linux but also uses VxWorks for the real time pieces.