Are Nintendo NX and Nintendo Switch the same thing?

Yes, they are. The NX was the name while it was being developed, and what the press called it when publishing rumors. Now that it has officially been announced, we know the real name, which is the Nintendo Switch.