As a slight aside, is NVIDIA's motivation profit from the gaming industry or does this find industrial application outside of the obvious visual presentations?
Possibly, given that - besides all that recent neural-networks-on-GPU craze - people run e.g. CFD simulations on GPUs. I recall SpaceX in particular doing simulations for their rockets on NVIDIA hardware.
Flex, PhysX and Gameworks are all meant for games, but I would suspect that the game physics talent helped guide CUDA, which does have a lot of industrial applications.
They aquired Müller and PhysX when they bought Ageia in 2008. They changed Ageia's direction away from developing dedicated hardware (a Physics Processing Unit) to instead leverage the GPU for physics calculations.