Sun had the perfect opportunity with Utility Computing around the mid-2000s but when cloud took off we had Oracle buying SUNW. They killed Sun Cloud which had the opportunity to be big, vast, and powered by JAVA hardware.
Sun Microsystems was a company like no other. The last of a dying breed of "family" technology companies.