Tesla reported record earnings per share, annual revenue, production and deliveries - and sounded a warning on inflation.