The US's four Iowa-class battleships were quite useful, mostly for shore bombardment. They required a huge crew, 2,700 for WWII, Korea), and, after some modernization, 1,800 in the 1980s and 1990s. It's the crew size that led to their retirement. Each turret needed 90-110 people.
There was naval interest in building some "bombardment ships" intended for shore bombardment of countries that didn't have a significant capability for shooting back. But that went nowhere, since most of the US's enemies in recent decades have been too far inland.
The Japanese government was afraid to send the Yamato into battle, but that had nothing to do with money (after all, its sister ship was deployed at the 2nd battle of Leyte Gulf). The problem was they'd used it as a centerpiece in their war propaganda, and they thought losing it would be a PR disaster that outweighed any possible utility in battle.
A handful. Nowhere near enough. The Battle of Midway wiped out the bulk of them. The Zero rapidly became obsolete, too.