SpaceX undoubtedly does have US government agencies as some of their biggest customers, but 98% must be a gross exaggeration. The Falcon 9/Heavy have made nearly all of their launch revenues, and from just perusing the lists [1][2] of all launches, the US government can't be more than some low double digit percentage.
SpaceX does receive other funding as part of various NASA contracts, but that funding is also related to providing services to them, not just receiving money for nothing.
SpaceX does receive other funding as part of various NASA contracts, but that funding is also related to providing services to them, not just receiving money for nothing.
1: https://en.wikipedia.org/wiki/List_of_Falcon_9_and_Falcon_He...
2: https://en.wikipedia.org/wiki/List_of_Falcon_9_and_Falcon_He...